< prev index next >
test/hotspot/jtreg/serviceability/sa/TestJmapCore.java
Print this page
*** 136,158 ****
System.err.println(out.getStderr());
if (dumpFile.exists() && dumpFile.isFile()) {
HprofParser.parse(dumpFile);
} else {
- boolean ZGCUsed = false;
-
- for (String opt: Utils.getFilteredTestJavaOpts()) {
- if (opt.contains("+UseZGC")) {
- ZGCUsed = true;
- break;
- }
- }
-
- if (!ZGCUsed) {
throw new RuntimeException(
"Could not find dump file " + dumpFile.getAbsolutePath());
}
- }
System.out.println("PASSED");
}
}
--- 136,147 ----
< prev index next >