# HG changeset patch # User Matthias Grimmer # Date 1382525661 -7200 # Node ID e5c23a8f3dd817a18b9ec647485b57d191c45236 # Parent 9b1cc262896106bb69cd8f2193d74003b62d3cc5 Remove unused parameter from CompilerToVm.dontInline diff -r 9b1cc2628961 -r e5c23a8f3dd8 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java Wed Oct 23 12:48:06 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java Wed Oct 23 12:54:21 2013 +0200 @@ -218,7 +218,7 @@ long readUnsafeKlassPointer(Object o); - void dontInline(long metaspaceMethod, HotSpotResolvedJavaMethod method); + void dontInline(long metaspaceMethod); /** * Invalidates the profiling information and restarts profiling upon the next invocation. diff -r 9b1cc2628961 -r e5c23a8f3dd8 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java Wed Oct 23 12:48:06 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java Wed Oct 23 12:54:21 2013 +0200 @@ -178,7 +178,7 @@ public native long readUnsafeKlassPointer(Object o); @Override - public native void dontInline(long metaspaceMethod, HotSpotResolvedJavaMethod method); + public native void dontInline(long metaspaceMethod); @Override public Object executeCompiledMethod(Object arg1, Object arg2, Object arg3, HotSpotInstalledCode hotspotInstalledCode) throws InvalidInstalledCodeException { diff -r 9b1cc2628961 -r e5c23a8f3dd8 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod.java Wed Oct 23 12:48:06 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod.java Wed Oct 23 12:54:21 2013 +0200 @@ -194,7 +194,7 @@ */ public void setDontInline() { dontInline = true; - runtime().getCompilerToVM().dontInline(metaspaceMethod, this); + runtime().getCompilerToVM().dontInline(metaspaceMethod); } /** diff -r 9b1cc2628961 -r e5c23a8f3dd8 src/share/vm/graal/graalCompilerToVM.cpp --- a/src/share/vm/graal/graalCompilerToVM.cpp Wed Oct 23 12:48:06 2013 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Wed Oct 23 12:54:21 2013 +0200 @@ -642,7 +642,7 @@ return id; } -C2V_VMENTRY(void, dontInline,(JNIEnv *, jobject, jlong metaspace_method, jobject hotspot_method)) +C2V_VMENTRY(void, dontInline,(JNIEnv *, jobject, jlong metaspace_method)) methodHandle method = asMethod(metaspace_method); method->set_not_c1_compilable(); method->set_not_c2_compilable(); @@ -1203,7 +1203,7 @@ {CC"getUniqueImplementor", CC"("HS_RESOLVED_TYPE")"RESOLVED_TYPE, FN_PTR(getUniqueImplementor)}, {CC"getStackTraceElement", CC"("METASPACE_METHOD"I)"STACK_TRACE_ELEMENT, FN_PTR(getStackTraceElement)}, {CC"initializeMethod", CC"("METASPACE_METHOD HS_RESOLVED_METHOD")V", FN_PTR(initializeMethod)}, - {CC"dontInline", CC"("METASPACE_METHOD HS_RESOLVED_METHOD")V", FN_PTR(dontInline)}, + {CC"dontInline", CC"("METASPACE_METHOD")V", FN_PTR(dontInline)}, {CC"initializeMethodData", CC"("METASPACE_METHOD_DATA METHOD_DATA")V", FN_PTR(initializeMethodData)}, {CC"isMethodCompilable", CC"("METASPACE_METHOD")Z", FN_PTR(isMethodCompilable)}, {CC"getCompiledCodeSize", CC"("METASPACE_METHOD")I", FN_PTR(getCompiledCodeSize)},