test/gc/concurrentMarkSweep/GuardShrinkWarning.java

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

@@ -21,10 +21,11 @@
  * questions.
  */
 
 /**
  * @test GuardShrinkWarning
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
  * @summary Remove warning about CMS generation shrinking.
  * @bug 8012111
  * @key gc
  * @key regression
  * @library /testlibrary