changeset 12312:4d1cc698c0b6

8165955: TestFullGCCount test failed with CMS and -XX:+ExplicitGCInvokesConcurrent Reviewed-by: dfazunen, tschatzl
author mchernov
date Wed, 16 Nov 2016 18:57:42 +0300
parents 1d8d01c86279
children ae23c7acb99a
files test/gc/TestFullGCCount.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/TestFullGCCount.java	Wed Nov 16 14:11:30 2016 +0300
+++ b/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
  */