changeset 11244:389cc3cd2777

8156769: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with java.lang.Exception Summary: Update test to use jhsdb instead of jmap Reviewed-by: sla
author dsamersoff
date Thu, 12 May 2016 17:47:45 +0300
parents 67ace7884a83
children 798a3c468407
files test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java	Thu May 12 13:25:11 2016 +0200
+++ b/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java	Thu May 12 17:47:45 2016 +0300
@@ -51,8 +51,10 @@
 
         String pid = Long.toString(ProcessTools.getProcessId());
 
-        JDKToolLauncher jmap = JDKToolLauncher.create("jmap")
-                                              .addToolArg("-heap")
+        JDKToolLauncher jmap = JDKToolLauncher.create("jhsdb")
+                                              .addToolArg("jmap")
+                                              .addToolArg("--heap")
+                                              .addToolArg("--pid")
                                               .addToolArg(pid);
         ProcessBuilder pb = new ProcessBuilder(jmap.getCommand());