--- old/test/hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java 2019-02-14 14:37:28.220316735 +0100 +++ new/test/hotspot/jtreg/serviceability/sa/ClhsdbJhisto.java 2019-02-14 14:37:27.700316739 +0100 @@ -35,7 +35,6 @@ * @summary Test clhsdb jhisto command * @requires vm.hasSA * @requires vm.gc != "Shenandoah" - * @requires vm.gc != "Z" * @library /test/lib * @run main/othervm ClhsdbJhisto */ --- old/test/hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java 2019-02-14 14:37:28.868316730 +0100 +++ new/test/hotspot/jtreg/serviceability/sa/TestHeapDumpForInvokeDynamic.java 2019-02-14 14:37:28.348316734 +0100 @@ -50,7 +50,6 @@ * @test * @library /test/lib * @requires vm.hasSAandCanAttach & os.family != "mac" - * @requires vm.gc != "Z" * @modules java.base/jdk.internal.misc * jdk.hotspot.agent/sun.jvm.hotspot * jdk.hotspot.agent/sun.jvm.hotspot.utilities --- old/test/hotspot/jtreg/serviceability/sa/TestHeapDumpForLargeArray.java 2019-02-14 14:37:29.532316725 +0100 +++ new/test/hotspot/jtreg/serviceability/sa/TestHeapDumpForLargeArray.java 2019-02-14 14:37:28.992316729 +0100 @@ -48,7 +48,6 @@ * @bug 8171084 * @requires vm.hasSAandCanAttach & (vm.bits == "64" & os.maxMemory > 8g) * @requires vm.gc != "Shenandoah" - * @requires vm.gc != "Z" * @modules java.base/jdk.internal.misc * jdk.hotspot.agent/sun.jvm.hotspot * jdk.hotspot.agent/sun.jvm.hotspot.utilities --- 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");