test/gc/g1/Test2GbHeap.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test Test2GbHeap
  * @bug 8031686
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Regression test to ensure we can start G1 with 2gb heap.
  * @key gc
  * @key regression
  * @library /testlibrary
  */