--- old/src/java.base/share/classes/java/lang/System.java 2015-06-29 11:11:55.114909114 +0200
+++ new/src/java.base/share/classes/java/lang/System.java 2015-06-29 11:11:54.878909107 +0200
@@ -42,6 +42,7 @@
import sun.reflect.Reflection;
import sun.security.util.SecurityConstants;
import sun.reflect.annotation.AnnotationType;
+import jdk.internal.HotSpotIntrinsicCandidate;
/**
* The System
class contains several useful class fields
@@ -349,6 +350,7 @@
* the current time and midnight, January 1, 1970 UTC.
* @see java.util.Date
*/
+ @HotSpotIntrinsicCandidate
public static native long currentTimeMillis();
/**
@@ -392,6 +394,7 @@
* high-resolution time source, in nanoseconds
* @since 1.5
*/
+ @HotSpotIntrinsicCandidate
public static native long nanoTime();
/**
@@ -486,6 +489,7 @@
* @exception NullPointerException if either src
or
* dest
is null
.
*/
+ @HotSpotIntrinsicCandidate
public static native void arraycopy(Object src, int srcPos,
Object dest, int destPos,
int length);
@@ -501,6 +505,7 @@
* @return the hashCode
* @since 1.1
*/
+ @HotSpotIntrinsicCandidate
public static native int identityHashCode(Object x);
/**