Mercurial > hg > truffle
diff src/share/tools/whitebox/sun/hotspot/WhiteBox.java @ 7971:4102b59539ce
8005012: Add WB APIs to better support NMT testing
Summary: Add WB API functions to enable better NMT testing
Reviewed-by: dholmes, zgu
author | ctornqvi |
---|---|
date | Fri, 01 Feb 2013 23:48:08 +0100 |
parents | da91efe96a93 |
children | 12e01444ca2d |
line wrap: on
line diff
--- a/src/share/tools/whitebox/sun/hotspot/WhiteBox.java Fri Feb 01 13:30:12 2013 -0500 +++ b/src/share/tools/whitebox/sun/hotspot/WhiteBox.java Fri Feb 01 23:48:08 2013 +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(); }