8289162: runtime/NMT/ThreadedMallocTestType.java should print out memory allocations to help debug
Reviewed-by: hseigel, coleenp
This commit is contained in:
parent
a11477ce25
commit
739fdec7ea
@ -61,6 +61,10 @@ public class ThreadedMallocTestType {
|
||||
allocThread.start();
|
||||
allocThread.join();
|
||||
|
||||
System.out.println("memAlloc1:"+memAlloc1);
|
||||
System.out.println("memAlloc2:"+memAlloc2);
|
||||
System.out.println("memAlloc3:"+memAlloc3);
|
||||
|
||||
// Run 'jcmd <pid> VM.native_memory summary'
|
||||
pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary"});
|
||||
output = new OutputAnalyzer(pb.start());
|
||||
|
Loading…
Reference in New Issue
Block a user