< prev index next >

test/hotspot/jtreg/serviceability/sa/TestJmapCore.java

Print this page

        

@@ -136,23 +136,12 @@
         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");
     }
 }
< prev index next >