test/gc/g1/TestG1TraceReclaimDeadHumongousObjectsAtYoungGC.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test TestG1TraceReclaimDeadHumongousObjectsAtYoungGC
  * @bug 8058801
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Ensure that the output for a G1TraceReclaimDeadHumongousObjectsAtYoungGC
  * includes the expected necessary messages.
  * @key gc
  * @library /testlibrary
  */