--- old/test/hotspot/jtreg/gc/TestFullGCCount.java 2018-11-28 19:19:24.182292931 +0100 +++ new/test/hotspot/jtreg/gc/TestFullGCCount.java 2018-11-28 19:19:24.030293995 +0100 @@ -26,7 +26,16 @@ * @bug 7072527 * @summary CMS: JMM GC counters overcount in some cases * @requires !(vm.gc.ConcMarkSweep & vm.opt.ExplicitGCInvokesConcurrent == true) - * @requires !(vm.gc == "Shenandoah" & !(vm.opt.ExplicitGCInvokesConcurrent == false)) + * @modules java.management + * @run main/othervm -Xlog:gc TestFullGCCount + */ + +/** + * @test TestFullGCCountShenandoah + * @bug 7072527 + * @summary Shenandoah: JMM GC counters overcount in some cases + * @requires vm.gc.Shenandoah + * @requires vm.opt.ExplicitGCInvokesConcurrent == false * @modules java.management * @run main/othervm -Xlog:gc TestFullGCCount */