--- old/src/java.base/share/classes/java/lang/Byte.java 2015-07-02 17:26:50.018759581 +0200 +++ new/src/java.base/share/classes/java/lang/Byte.java 2015-07-02 17:26:49.766759569 +0200 @@ -25,6 +25,8 @@ package java.lang; +import jdk.internal.HotSpotIntrinsicCandidate; + /** * * The {@code Byte} class wraps a value of primitive type {@code byte} @@ -98,6 +100,7 @@ * @return a {@code Byte} instance representing {@code b}. * @since 1.5 */ + @HotSpotIntrinsicCandidate public static Byte valueOf(byte b) { final int offset = 128; return ByteCache.cache[(int)b + offset]; @@ -320,6 +323,7 @@ * Returns the value of this {@code Byte} as a * {@code byte}. */ + @HotSpotIntrinsicCandidate public byte byteValue() { return value; }