JDK-8229156 : ProblemList gc/stress/gclocker/TestExcessGCLockerCollections.java
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-08-06
  • Updated: 2022-06-27
  • Resolved: 2019-08-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14
11.0.6-oracleFixed 13.0.4Fixed 14 b09Fixed
Description
This test was recently added as part of the fix for JDK-8048556.  It turns out it's not a very good test, is currently at least very hard to fix, and also very intermittently fails.  JDK-8227225 and followups for other collectors will provide the information needed to fix the test.

diff -r c38cca5ffb66 -r 0c6e374d42e8 test/hotspot/jtreg/ProblemList.txt
--- a/test/hotspot/jtreg/ProblemList.txt	Mon Aug 05 11:16:48 2019 -0400
+++ b/test/hotspot/jtreg/ProblemList.txt	Mon Aug 05 21:12:11 2019 -0400
@@ -77,6 +77,7 @@
 gc/g1/humongousObjects/objectGraphTest/TestObjectGraphAfterGC.java 8156755 generic-all
 gc/g1/logging/TestG1LoggingFailure.java 8169634 generic-all
 gc/g1/humongousObjects/TestHeapCounters.java 8178918 generic-all
+gc/stress/gclocker/TestExcessGCLockerCollections.java 8229120 generic-all
 gc/stress/gclocker/TestGCLockerWithParallel.java 8180622 generic-all
 gc/stress/gclocker/TestGCLockerWithG1.java 8180622 generic-all
 gc/stress/TestJNIBlockFullGC/TestJNIBlockFullGC.java 8192647 generic-all

Comments
TestExcessGCLockerCollections.java passes, so an 8u backport is unneeded. Removing jdk8u-needs-review.
24-11-2020

I don't see how this applies to 8u when 8u does not have a ProblemList.txt in the HotSpot repository (missing JDK-8078450). I don't see a review thread for this. Replacing jdk8u-fix-* with jdk8u-needs-review.
29-07-2020

Fix request 13u This is needed in 13u to avoid spurious test failures introduced by the backport of JDK-8048556. The change transplants/applies trivially and causes no regressions.
19-05-2020

Fix Request JDK-8048556 was backported to 8u so we also need to backport this exclude.
17-04-2020

Fix request This is needed in 11u to avoid spurious test failures introduced by the backport of JDK-8048556. See above. The change transplants/applies trivially and causes no regressions.
22-10-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/5cc8f9225a6d User: kbarrett Date: 2019-08-06 15:41:14 +0000
06-08-2019