< prev index next >
test/hotspot/jtreg/runtime/SharedArchiveFile/DumpSymbolAndStringTable.java
Print this page
*** 58,68 ****
}
pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary"});
output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary");
try {
! output.shouldContain("System Dictionary for jdk/internal/loader/ClassLoaders$AppClassLoader statistics:");
output.shouldContain("Number of buckets");
output.shouldContain("Number of entries");
output.shouldContain("Maximum bucket size");
} catch (RuntimeException e) {
output.shouldContain("Unknown diagnostic command");
--- 58,68 ----
}
pb.command(new String[] {JDKToolFinder.getJDKTool("jcmd"), pid, "VM.systemdictionary"});
output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary");
try {
! output.shouldContain("System Dictionary for 'app' class loader statistics:");
output.shouldContain("Number of buckets");
output.shouldContain("Number of entries");
output.shouldContain("Maximum bucket size");
} catch (RuntimeException e) {
output.shouldContain("Unknown diagnostic command");
< prev index next >