test/gc/g1/TestGCLogMessages.java

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

@@ -22,10 +22,11 @@
  */
 
 /*
  * @test TestGCLogMessages
  * @bug 8035406 8027295 8035398 8019342 8027959
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Ensure that the PrintGCDetails output for a minor GC with G1
  * includes the expected necessary messages.
  * @key gc
  * @library /testlibrary
  */