test/gc/concurrentMarkSweep/SystemGCOnForegroundCollector.java

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

@@ -21,10 +21,11 @@
  * questions.
  */
 
 /**
  * @test SystemGCOnForegroundCollector
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
  * @summary CMS: Call reset_after_compaction() only if a compaction has been done
  * @bug 8013184
  * @key gc
  * @key regression
  * @library /testlibrary