test/gc/g1/TestPrintGCDetails.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test TestPrintGCDetails
  * @bug 8010738
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Ensure that the PrintGCDetails for a full GC with G1 includes Metaspace.
  * @key gc
  * @key regression
  * @library /testlibrary
  */