--- old/src/share/tools/whitebox/sun/hotspot/WhiteBox.java 2012-12-17 16:19:08.092569200 +0100 +++ new/src/share/tools/whitebox/sun/hotspot/WhiteBox.java 2012-12-17 16:19:07.780568600 +0100 @@ -76,4 +76,9 @@ public native long g1NumFreeRegions(); public native int g1RegionSize(); public native Object[] parseCommandLine(String commandline, DiagnosticCommand[] args); + + // NMT + public native boolean NMTAllocTest(); + public native boolean NMTFreeTestMemory(); + public native boolean NMTWaitForDataMerge(); }