< prev index next >

test/testlibrary/whitebox/sun/hotspot/WhiteBox.java

Print this page

        

*** 107,116 **** --- 107,117 ---- public native boolean NMTIsDetailSupported(); public native boolean NMTChangeTrackingLevel(); public native int NMTGetHashSize(); // Compiler + public native int deoptimizeFrames(boolean makeNotEntrant); public native void deoptimizeAll(); public boolean isMethodCompiled(Executable method) { return isMethodCompiled(method, false /*not osr*/); } public native boolean isMethodCompiled(Executable method, boolean isOsr);
*** 163,172 **** --- 164,177 ---- } public native Thread forceNMethodSweep0(); public native Object[] getCodeHeapEntries(int type); public native int getCompilationActivityMode(); public native Object[] getCodeBlob(long addr); + /** + * @return the id compiler (0 - int, 1 - C1, 2 - C2) + */ + public static int getCompiler() { return 0; } // Intered strings public native boolean isInStringTable(String str); // Memory
< prev index next >