--- old/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java 2019-02-14 14:37:30.204316720 +0100 +++ new/test/hotspot/jtreg/serviceability/sa/TestJmapCore.java 2019-02-14 14:37:29.660316724 +0100 @@ -138,19 +138,8 @@ 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()); - } + throw new RuntimeException( + "Could not find dump file " + dumpFile.getAbsolutePath()); } System.out.println("PASSED");