--- old/src/java.base/share/classes/java/lang/Object.java 2015-06-29 11:11:55.450909123 +0200 +++ new/src/java.base/share/classes/java/lang/Object.java 2015-06-29 11:11:55.082909113 +0200 @@ -25,6 +25,8 @@ package java.lang; +import jdk.internal.HotSpotIntrinsicCandidate; + /** * Class {@code Object} is the root of the class hierarchy. * Every class has {@code Object} as a superclass. All objects, @@ -44,6 +46,7 @@ /** * Constructs a new object. */ + @HotSpotIntrinsicCandidate public Object() {} /** @@ -65,6 +68,7 @@ * class of this object. * @jls 15.8.2 Class Literals */ + @HotSpotIntrinsicCandidate public final native Class getClass(); /** @@ -101,6 +105,7 @@ * @see java.lang.Object#equals(java.lang.Object) * @see java.lang.System#identityHashCode */ + @HotSpotIntrinsicCandidate public native int hashCode(); /** @@ -213,6 +218,7 @@ * be cloned. * @see java.lang.Cloneable */ + @HotSpotIntrinsicCandidate protected native Object clone() throws CloneNotSupportedException; /**