diff options
author | ctornqvi <none@none> | 2013-02-01 23:48:08 +0100 |
---|---|---|
committer | ctornqvi <none@none> | 2013-02-01 23:48:08 +0100 |
commit | a3551f0df813999c294d32f0243b5789e9be985b (patch) | |
tree | b9da6077c58b6d4694dcea6c8588abe5661efd42 /src/share/tools | |
parent | 1002494ef858b1d214b3b0bb4171fb83e032004c (diff) | |
download | jdk8u_hotspot-a3551f0df813999c294d32f0243b5789e9be985b.tar.gz |
8005012: Add WB APIs to better support NMT testing
Summary: Add WB API functions to enable better NMT testing
Reviewed-by: dholmes, zgu
Diffstat (limited to 'src/share/tools')
-rw-r--r-- | src/share/tools/whitebox/sun/hotspot/WhiteBox.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/share/tools/whitebox/sun/hotspot/WhiteBox.java b/src/share/tools/whitebox/sun/hotspot/WhiteBox.java index 3a8592dec..ecc508589 100644 --- a/src/share/tools/whitebox/sun/hotspot/WhiteBox.java +++ b/src/share/tools/whitebox/sun/hotspot/WhiteBox.java @@ -76,4 +76,9 @@ public class WhiteBox { 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(); } |