77 public native boolean g1IsHumongous(Object o); 78 public native long g1NumFreeRegions(); 79 public native int g1RegionSize(); 80 public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); 81 82 // NMT 83 public native boolean NMTAllocTest(); 84 public native boolean NMTFreeTestMemory(); 85 public native boolean NMTWaitForDataMerge(); 86 87 // Compiler 88 public native void deoptimizeAll(); 89 public native boolean isMethodCompiled(Method method); 90 public native boolean isMethodCompilable(Method method); 91 public native boolean isMethodQueuedForCompilation(Method method); 92 public native int deoptimizeMethod(Method method); 93 public native void makeMethodNotCompilable(Method method); 94 public native int getMethodCompilationLevel(Method method); 95 public native boolean setDontInlineMethod(Method method, boolean value); 96 public native int getCompileQueuesSize(); 97 } | 77 public native boolean g1IsHumongous(Object o); 78 public native long g1NumFreeRegions(); 79 public native int g1RegionSize(); 80 public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); 81 82 // NMT 83 public native boolean NMTAllocTest(); 84 public native boolean NMTFreeTestMemory(); 85 public native boolean NMTWaitForDataMerge(); 86 87 // Compiler 88 public native void deoptimizeAll(); 89 public native boolean isMethodCompiled(Method method); 90 public native boolean isMethodCompilable(Method method); 91 public native boolean isMethodQueuedForCompilation(Method method); 92 public native int deoptimizeMethod(Method method); 93 public native void makeMethodNotCompilable(Method method); 94 public native int getMethodCompilationLevel(Method method); 95 public native boolean setDontInlineMethod(Method method, boolean value); 96 public native int getCompileQueuesSize(); 97 98 //Intered strings 99 public native boolean isInStringTable(String str); 100 101 // force Full GC 102 public native void fullGC(); 103 } |