--- old/src/java.base/share/classes/java/lang/Thread.java 2015-06-26 17:30:23.953117215 +0200 +++ new/src/java.base/share/classes/java/lang/Thread.java 2015-06-26 17:30:22.977117188 +0200 @@ -40,7 +40,7 @@ import sun.reflect.CallerSensitive; import sun.reflect.Reflection; import sun.security.util.SecurityConstants; - +import jdk.internal.HotSpotIntrinsicCandidate; /** * A thread is a thread of execution in a program. The Java @@ -261,6 +261,7 @@ * * @return the currently executing thread. */ + @HotSpotIntrinsicCandidate public static native Thread currentThread(); /** @@ -966,6 +967,7 @@ * is reset or not based on the value of ClearInterrupted that is * passed. */ + @HotSpotIntrinsicCandidate private native boolean isInterrupted(boolean ClearInterrupted); /**