Currently sun.misc.Unsafe and jdk.internal.misc.Unsafe share the same native method table.
This limitation means it is not possible to add new native methods to jdk.internal.misc.Unsafe nor remove native methods from sun.misc.Unsafe (there are few private and public methods that should be removed, namely private methods unalignedAccess0 and isBigEndian0 and also public methods getUncompressedObject/getJavaMirror/getKlassPointer once dependencies have been updated).
This limitation means it is not possible to add new native methods to jdk.internal.misc.Unsafe nor remove native methods from sun.misc.Unsafe (there are few private and public methods that should be removed, namely private methods unalignedAccess0 and isBigEndian0 and also public methods getUncompressedObject/getJavaMirror/getKlassPointer once dependencies have been updated).
- is blocked by
-
JDK-8143930 C1 LinearScan asserts when compiling two back-to-back CompareAndSwapLongs
-
- Closed
-