Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Commit 2791701

Browse files
author
Kim Barrett
committed
8298296: gc/TestFullGCCount.java fails with "System.gc collections miscounted."
Reviewed-by: tschatzl, ayang
1 parent 0bbc418 commit 2791701

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/hotspot/jtreg/ProblemList.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ gc/stress/gclocker/TestGCLockerWithG1.java 8180622 generic-all
8080
gc/stress/TestJNIBlockFullGC/TestJNIBlockFullGC.java 8192647 generic-all
8181
gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java 8241293,8298073 macosx-x64,macosx-aarch64
8282
gc/stress/TestStressG1Humongous.java 8286554 windows-x64
83-
gc/TestFullGCCount.java 8298296 linux-x64
8483

8584
#############################################################################
8685

test/hotspot/jtreg/gc/TestFullGCCount.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
* @summary JMM GC counters overcount in some cases
3030
* @comment Shenandoah has "ExplicitGCInvokesConcurrent" on by default
3131
* @requires !(vm.gc == "Shenandoah" & vm.opt.ExplicitGCInvokesConcurrent != false)
32+
* @comment G1 has separate counters for STW Full GC and concurrent GC.
33+
* @requires !(vm.gc == "G1" & vm.opt.ExplicitGCInvokesConcurrent)
3234
* @requires vm.gc != "Z"
3335
* @modules java.management
3436
* @run main/othervm -Xlog:gc gc.TestFullGCCount

0 commit comments

Comments
 (0)