8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent
authormchernov
Wed, 16 Nov 2016 18:57:42 +0300
changeset 42572 faf8f5152129
parent 42571 a4eea8e17d0b
child 42573 a20695c30be5
8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent Reviewed-by: dfazunen, tschatzl
hotspot/test/gc/TestFullGCCount.java
--- a/hotspot/test/gc/TestFullGCCount.java	Wed Nov 16 14:11:30 2016 +0300
+++ b/hotspot/test/gc/TestFullGCCount.java	Wed Nov 16 18:57:42 2016 +0300
@@ -21,10 +21,11 @@
  * questions.
  */
 
-/*
+/**
  * @test TestFullGCCount.java
  * @bug 7072527
  * @summary CMS: JMM GC counters overcount in some cases
+ * @requires !(vm.gc.ConcMarkSweep & vm.opt.ExplicitGCInvokesConcurrent == true)
  * @modules java.management
  * @run main/othervm -Xlog:gc TestFullGCCount
  */