8156769: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java fails with java.lang.Exception
Update test to use jhsdb instead of jmap Reviewed-by: sla
This commit is contained in:
parent
c4a1f3b65e
commit
cddb3b11ef
@ -51,8 +51,10 @@ public class CompressedClassSpaceSizeInJmapHeap {
|
||||
|
||||
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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user