test/gc/g1/TestStringDeduplicationPrintOptions.java

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

@@ -21,10 +21,11 @@
  * questions.
  */
 
 /*
  * @test TestStringDeduplicationPrintOptions
+ * @requires vm.gc=="G1" | vm.gc=="null"
  * @summary Test string deduplication print options
  * @bug 8029075
  * @key gc
  * @library /testlibrary
  */