8298296: gc/TestFullGCCount.java fails with "System.gc collections miscounted."

Reviewed-by: tschatzl, ayang
This commit is contained in:
Kim Barrett 2022-12-14 13:36:36 +00:00
parent 0bbc4181cd
commit 279170147a
2 changed files with 2 additions and 1 deletions

@ -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
#############################################################################

@ -29,6 +29,8 @@ package gc;
* @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