< prev index next >

test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java

Print this page

        

@@ -42,10 +42,11 @@
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:-UseSerialGC",
                                                                   "-XX:-UseParallelGC",
                                                                   "-XX:-UseG1GC",
                                                                   "-XX:-UseConcMarkSweepGC",
                                                                   "-XX:+UnlockExperimentalVMOptions",
+                                                                  "-XX:-UseShenandoahGC",
                                                                   "-XX:-UseZGC",
                                                                   "-version");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
         output.shouldMatch("Garbage collector not selected");
         output.shouldHaveExitValue(1);
< prev index next >