--- old/src/java.base/share/classes/java/lang/reflect/Array.java 2015-06-29 11:11:57.782909187 +0200 +++ new/src/java.base/share/classes/java/lang/reflect/Array.java 2015-06-29 11:11:57.274909173 +0200 @@ -25,6 +25,8 @@ package java.lang.reflect; +import jdk.internal.HotSpotIntrinsicCandidate; + /** * The {@code Array} class provides static methods to dynamically create and * access Java arrays. @@ -119,6 +121,7 @@ * @exception IllegalArgumentException if the object argument is not * an array */ + @HotSpotIntrinsicCandidate public static native int getLength(Object array) throws IllegalArgumentException; @@ -477,6 +480,7 @@ * Private */ + @HotSpotIntrinsicCandidate private static native Object newArray(Class componentType, int length) throws NegativeArraySizeException;