< prev index next >

test/lib/sun/hotspot/WhiteBox.java

Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???


 208   public native long[] g1GetMixedGCInfo(int liveness);
 209 
 210   // NMT
 211   public native long NMTMalloc(long size);
 212   public native void NMTFree(long mem);
 213   public native long NMTReserveMemory(long size);
 214   public native long NMTAttemptReserveMemoryAt(long addr, long size);
 215   public native void NMTCommitMemory(long addr, long size);
 216   public native void NMTUncommitMemory(long addr, long size);
 217   public native void NMTReleaseMemory(long addr, long size);
 218   public native long NMTMallocWithPseudoStack(long size, int index);
 219   public native long NMTMallocWithPseudoStackAndType(long size, int index, int type);
 220   public native boolean NMTChangeTrackingLevel();
 221   public native int NMTGetHashSize();
 222 
 223   // Compiler
 224   public native int     matchesMethod(Executable method, String pattern);
 225   public native int     matchesInline(Executable method, String pattern);
 226   public native boolean shouldPrintAssembly(Executable method, int comp_level);
 227   public native int     deoptimizeFrames(boolean makeNotEntrant);

 228   public native void    deoptimizeAll();
 229 
 230   public        boolean isMethodCompiled(Executable method) {
 231     return isMethodCompiled(method, false /*not osr*/);
 232   }
 233   private native boolean isMethodCompiled0(Executable method, boolean isOsr);
 234   public         boolean isMethodCompiled(Executable method, boolean isOsr){
 235     Objects.requireNonNull(method);
 236     return isMethodCompiled0(method, isOsr);
 237   }
 238   public        boolean isMethodCompilable(Executable method) {
 239     return isMethodCompilable(method, -2 /*any*/);
 240   }
 241   public        boolean isMethodCompilable(Executable method, int compLevel) {
 242     return isMethodCompilable(method, compLevel, false /*not osr*/);
 243   }
 244   private native boolean isMethodCompilable0(Executable method, int compLevel, boolean isOsr);
 245   public         boolean isMethodCompilable(Executable method, int compLevel, boolean isOsr) {
 246     Objects.requireNonNull(method);
 247     return isMethodCompilable0(method, compLevel, isOsr);




 208   public native long[] g1GetMixedGCInfo(int liveness);
 209 
 210   // NMT
 211   public native long NMTMalloc(long size);
 212   public native void NMTFree(long mem);
 213   public native long NMTReserveMemory(long size);
 214   public native long NMTAttemptReserveMemoryAt(long addr, long size);
 215   public native void NMTCommitMemory(long addr, long size);
 216   public native void NMTUncommitMemory(long addr, long size);
 217   public native void NMTReleaseMemory(long addr, long size);
 218   public native long NMTMallocWithPseudoStack(long size, int index);
 219   public native long NMTMallocWithPseudoStackAndType(long size, int index, int type);
 220   public native boolean NMTChangeTrackingLevel();
 221   public native int NMTGetHashSize();
 222 
 223   // Compiler
 224   public native int     matchesMethod(Executable method, String pattern);
 225   public native int     matchesInline(Executable method, String pattern);
 226   public native boolean shouldPrintAssembly(Executable method, int comp_level);
 227   public native int     deoptimizeFrames(boolean makeNotEntrant);
 228   public native boolean isFrameDeoptimized(int depth);
 229   public native void    deoptimizeAll();
 230 
 231   public        boolean isMethodCompiled(Executable method) {
 232     return isMethodCompiled(method, false /*not osr*/);
 233   }
 234   private native boolean isMethodCompiled0(Executable method, boolean isOsr);
 235   public         boolean isMethodCompiled(Executable method, boolean isOsr){
 236     Objects.requireNonNull(method);
 237     return isMethodCompiled0(method, isOsr);
 238   }
 239   public        boolean isMethodCompilable(Executable method) {
 240     return isMethodCompilable(method, -2 /*any*/);
 241   }
 242   public        boolean isMethodCompilable(Executable method, int compLevel) {
 243     return isMethodCompilable(method, compLevel, false /*not osr*/);
 244   }
 245   private native boolean isMethodCompilable0(Executable method, int compLevel, boolean isOsr);
 246   public         boolean isMethodCompilable(Executable method, int compLevel, boolean isOsr) {
 247     Objects.requireNonNull(method);
 248     return isMethodCompilable0(method, compLevel, isOsr);


< prev index next >