RFR: 8377457: java/util/logging/ParentLoggersTest.java failed intermittently
Daniel Fuchs
dfuchs at openjdk.org
Mon Feb 9 21:25:48 UTC 2026
`java/util/logging/ParentLoggersTest.java` has been observed failing intermittently - nut rarely - in the loom repo.
After inspection of the code Logger::doSetParent was found to do multiple read of the volatile `parent` field. After changing the method to do a single read the test has no longer been observed failing.
-------------
Commit messages:
- 8377457: java/util/logging/ParentLoggersTest.java failed intermittently
Changes: https://git.openjdk.org/jdk/pull/29634/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29634&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8377457
Stats: 13 lines in 2 files changed: 6 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/29634.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29634/head:pull/29634
PR: https://git.openjdk.org/jdk/pull/29634
More information about the core-libs-dev
mailing list