diff --git a/test/hotspot/jtreg/ProblemList.txt b/test/hotspot/jtreg/ProblemList.txt index 1cd805f7450..66121e1dcb1 100644 --- a/test/hotspot/jtreg/ProblemList.txt +++ b/test/hotspot/jtreg/ProblemList.txt @@ -80,7 +80,6 @@ gc/stress/gclocker/TestGCLockerWithG1.java 8180622 generic-all gc/stress/TestJNIBlockFullGC/TestJNIBlockFullGC.java 8192647 generic-all gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java 8241293,8298073 macosx-x64,macosx-aarch64 gc/stress/TestStressG1Humongous.java 8286554 windows-x64 -gc/TestFullGCCount.java 8298296 linux-x64 ############################################################################# diff --git a/test/hotspot/jtreg/gc/TestFullGCCount.java b/test/hotspot/jtreg/gc/TestFullGCCount.java index 4557fb95c7b..08f8125de83 100644 --- a/test/hotspot/jtreg/gc/TestFullGCCount.java +++ b/test/hotspot/jtreg/gc/TestFullGCCount.java @@ -29,6 +29,8 @@ * @summary JMM GC counters overcount in some cases * @comment Shenandoah has "ExplicitGCInvokesConcurrent" on by default * @requires !(vm.gc == "Shenandoah" & vm.opt.ExplicitGCInvokesConcurrent != false) + * @comment G1 has separate counters for STW Full GC and concurrent GC. + * @requires !(vm.gc == "G1" & vm.opt.ExplicitGCInvokesConcurrent) * @requires vm.gc != "Z" * @modules java.management * @run main/othervm -Xlog:gc gc.TestFullGCCount