Mercurial > hg > graal-jvmci-8
diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 9085:7a5aec879506
Merge
author | bharadwaj |
---|---|
date | Thu, 11 Apr 2013 17:16:39 -0700 |
parents | 3b890cd4da64 b84fd7d73702 |
children | 86db4847f195 4b2eebe03f93 |
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Thu Apr 11 16:35:34 2013 +0200 +++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Thu Apr 11 17:16:39 2013 -0700 @@ -91,13 +91,19 @@ // Compiler public native void deoptimizeAll(); public native boolean isMethodCompiled(Method method); - public native boolean isMethodCompilable(Method method); + public boolean isMethodCompilable(Method method) { + return isMethodCompilable(method, -1 /*any*/); + } + public native boolean isMethodCompilable(Method method, int compLevel); public native boolean isMethodQueuedForCompilation(Method method); public native int deoptimizeMethod(Method method); public native void makeMethodNotCompilable(Method method); public native int getMethodCompilationLevel(Method method); - public native boolean setDontInlineMethod(Method method, boolean value); + public native boolean testSetDontInlineMethod(Method method, boolean value); public native int getCompileQueuesSize(); + public native boolean testSetForceInlineMethod(Method method, boolean value); + public native boolean enqueueMethodForCompilation(Method method, int compLevel); + public native void clearMethodState(Method method); //Intered strings public native boolean isInStringTable(String str);