--- old/src/java.base/share/classes/jdk/internal/misc/Unsafe.java 2019-01-21 14:08:30.444753041 +0100 +++ new/src/java.base/share/classes/jdk/internal/misc/Unsafe.java 2019-01-21 14:08:30.256753196 +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); /** @@ -300,6 +302,7 @@ * @param value a value instance * @param the type of the given value instance */ + @HotSpotIntrinsicCandidate public native V makePrivateBuffer(V value); /** @@ -308,6 +311,7 @@ * @param value a value instance * @param the type of the given value instance */ + @HotSpotIntrinsicCandidate public native V finishPrivateBuffer(V value); /**