test/gc/g1/TestEagerReclaimHumongousRegions.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test TestEagerReclaimHumongousRegions
  * @bug 8027959
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Test to make sure that eager reclaim of humongous objects work. We simply try to fill
  * up the heap with humongous objects that should be eagerly reclaimable to avoid Full GC.
  * @key gc
  * @library /testlibrary
  */