Use sun.misc.Unsafe instead of JNI field access
Open
needs more info
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 326
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 17
Description
The methods of `sun.misc.Unsafe` are compiler intrinsics, and will be much faster than any JNI call. We can use `sun.misc.Unsafe` to access both private fields and native memory.
Contributor guide
Assessment
This issue has not been assessed yet.