--- old/test/compiler/dependencies/MonomorphicObjectCall/java/lang/Object.java 2015-06-26 17:37:35.005129115 +0200 +++ new/test/compiler/dependencies/MonomorphicObjectCall/java/lang/Object.java 2015-06-26 17:37:34.933129113 +0200 @@ -25,25 +25,33 @@ package java.lang; +import jdk.internal.HotSpotIntrinsicCandidate; + /** * Slightly modified version of java.lang.Object that replaces * finalize() by finalizeObject() to avoid overriding in subclasses. */ public class Object { + @HotSpotIntrinsicCandidate + public Object() {} + private static native void registerNatives(); static { registerNatives(); } + @HotSpotIntrinsicCandidate public final native Class getClass(); + @HotSpotIntrinsicCandidate public native int hashCode(); public boolean equals(Object obj) { return (this == obj); } + @HotSpotIntrinsicCandidate protected native Object clone() throws CloneNotSupportedException; public String toString() {