diff -r f242d4332f56 -r 7908508d9e1c jdk/src/java.base/share/classes/java/util/Arrays.java --- a/jdk/src/java.base/share/classes/java/util/Arrays.java Wed Jul 05 20:59:28 2017 +0200 +++ b/jdk/src/java.base/share/classes/java/util/Arrays.java Fri Nov 06 11:11:53 2015 -0800 @@ -2882,6 +2882,7 @@ * @param a2 the other array to be tested for equality * @return {@code true} if the two arrays are equal */ + @HotSpotIntrinsicCandidate public static boolean equals(byte[] a, byte[] a2) { if (a==a2) return true;