test/gc/concurrentMarkSweep/CheckAllocateAndSystemGC.java

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

@@ -21,10 +21,11 @@
  * questions.
  */
 
 /**
  * @test CheckAllocateAndSystemGC
+ * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null"
  * @summary CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
  * @bug 8013032
  * @key gc
  * @key regression
  * @library /testlibrary