--- old/src/java.base/share/classes/java/util/zip/CRC32C.java 2015-07-02 17:26:54.998759808 +0200 +++ new/src/java.base/share/classes/java/util/zip/CRC32C.java 2015-07-02 17:26:54.566759788 +0200 @@ -26,6 +26,8 @@ import java.nio.ByteBuffer; import java.nio.ByteOrder; + +import jdk.internal.HotSpotIntrinsicCandidate; import sun.misc.Unsafe; import sun.nio.ch.DirectBuffer; @@ -204,6 +206,7 @@ /** * Updates the CRC-32C checksum with the specified array of bytes. */ + @HotSpotIntrinsicCandidate private static int updateBytes(int crc, byte[] b, int off, int end) { // Do only byte reads for arrays so short they can't be aligned @@ -278,6 +281,7 @@ /** * Updates the CRC-32C checksum reading from the specified address. */ + @HotSpotIntrinsicCandidate private static int updateDirectByteBuffer(int crc, long address, int off, int end) {