test/gc/TestSystemGC.java

Print this page
rev 7249 : 8062537: [TESTBUG] Conflicting GC combinations in hotspot tests

@@ -22,10 +22,11 @@
 */
 
 /*
  * @test TestSystemGC
  * @key gc
+ * @requires vm.gc=="null"
  * @summary Runs System.gc() with different flags.
  * @run main/othervm TestSystemGC
  * @run main/othervm -XX:+UseSerialGC TestSystemGC
  * @run main/othervm -XX:+UseParNewGC TestSystemGC
  * @run main/othervm -XX:+UseParallelGC TestSystemGC