Mercurial > hg > graal-compiler
comparison test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 9080:b84fd7d73702
8007288: Additional WB API for compiler's testing
Reviewed-by: kvn, vlivanov
author | iignatyev |
---|---|
date | Tue, 09 Apr 2013 09:54:17 -0700 |
parents | ede380e13960 |
children | 7a5aec879506 |
comparison
equal
deleted
inserted
replaced
9079:f67065f02409 | 9080:b84fd7d73702 |
---|---|
85 public native boolean NMTWaitForDataMerge(); | 85 public native boolean NMTWaitForDataMerge(); |
86 | 86 |
87 // Compiler | 87 // Compiler |
88 public native void deoptimizeAll(); | 88 public native void deoptimizeAll(); |
89 public native boolean isMethodCompiled(Method method); | 89 public native boolean isMethodCompiled(Method method); |
90 public native boolean isMethodCompilable(Method method); | 90 public boolean isMethodCompilable(Method method) { |
91 return isMethodCompilable(method, -1 /*any*/); | |
92 } | |
93 public native boolean isMethodCompilable(Method method, int compLevel); | |
91 public native boolean isMethodQueuedForCompilation(Method method); | 94 public native boolean isMethodQueuedForCompilation(Method method); |
92 public native int deoptimizeMethod(Method method); | 95 public native int deoptimizeMethod(Method method); |
93 public native void makeMethodNotCompilable(Method method); | 96 public native void makeMethodNotCompilable(Method method); |
94 public native int getMethodCompilationLevel(Method method); | 97 public native int getMethodCompilationLevel(Method method); |
95 public native boolean setDontInlineMethod(Method method, boolean value); | 98 public native boolean testSetDontInlineMethod(Method method, boolean value); |
96 public native int getCompileQueuesSize(); | 99 public native int getCompileQueuesSize(); |
100 public native boolean testSetForceInlineMethod(Method method, boolean value); | |
101 public native boolean enqueueMethodForCompilation(Method method, int compLevel); | |
102 public native void clearMethodState(Method method); | |
97 | 103 |
98 //Intered strings | 104 //Intered strings |
99 public native boolean isInStringTable(String str); | 105 public native boolean isInStringTable(String str); |
100 | 106 |
101 // force Full GC | 107 // force Full GC |