test/gc/g1/TestHumongousAllocInitialMark.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test TestHumongousAllocInitialMark
  * @bug 7168848
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary G1: humongous object allocations should initiate marking cycles when necessary
  * @library /testlibrary
  */
 
 import com.oracle.java.testlibrary.*;