comparison 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
comparison
equal deleted inserted replaced
9077:480d934f62a8 9085:7a5aec879506
89 public native boolean NMTWaitForDataMerge(); 89 public native boolean NMTWaitForDataMerge();
90 90
91 // Compiler 91 // Compiler
92 public native void deoptimizeAll(); 92 public native void deoptimizeAll();
93 public native boolean isMethodCompiled(Method method); 93 public native boolean isMethodCompiled(Method method);
94 public native boolean isMethodCompilable(Method method); 94 public boolean isMethodCompilable(Method method) {
95 return isMethodCompilable(method, -1 /*any*/);
96 }
97 public native boolean isMethodCompilable(Method method, int compLevel);
95 public native boolean isMethodQueuedForCompilation(Method method); 98 public native boolean isMethodQueuedForCompilation(Method method);
96 public native int deoptimizeMethod(Method method); 99 public native int deoptimizeMethod(Method method);
97 public native void makeMethodNotCompilable(Method method); 100 public native void makeMethodNotCompilable(Method method);
98 public native int getMethodCompilationLevel(Method method); 101 public native int getMethodCompilationLevel(Method method);
99 public native boolean setDontInlineMethod(Method method, boolean value); 102 public native boolean testSetDontInlineMethod(Method method, boolean value);
100 public native int getCompileQueuesSize(); 103 public native int getCompileQueuesSize();
104 public native boolean testSetForceInlineMethod(Method method, boolean value);
105 public native boolean enqueueMethodForCompilation(Method method, int compLevel);
106 public native void clearMethodState(Method method);
101 107
102 //Intered strings 108 //Intered strings
103 public native boolean isInStringTable(String str); 109 public native boolean isInStringTable(String str);
104 110
105 // force Full GC 111 // force Full GC