--- old/src/java.base/share/classes/jdk/internal/misc/Unsafe.java 2018-12-18 15:05:12.950156289 +0100 +++ new/src/java.base/share/classes/jdk/internal/misc/Unsafe.java 2018-12-18 15:05:08.064194778 +0100 @@ -239,6 +239,7 @@ * @throws RuntimeException No defined exceptions are thrown, not even * {@link NullPointerException} */ + @HotSpotIntrinsicCandidate public native V getValue(Object o, long offset, Class vc); /** @@ -258,6 +259,7 @@ * @throws RuntimeException No defined exceptions are thrown, not even * {@link NullPointerException} */ + @HotSpotIntrinsicCandidate public native void putValue(Object o, long offset, Class vc, V v); /** @@ -268,6 +270,7 @@ * @param value a value instance * @param the type of the given value instance */ + @HotSpotIntrinsicCandidate public native V makePrivateBuffer(V value); /** @@ -276,6 +279,7 @@ * @param value a value instance * @param the type of the given value instance */ + @HotSpotIntrinsicCandidate public native V finishPrivateBuffer(V value); /**