Integrated: 8377457: java/util/logging/ParentLoggersTest.java failed intermittently

Daniel Fuchs dfuchs at openjdk.org
Tue Feb 10 14:26:57 UTC 2026


On Mon, 9 Feb 2026 10:35:04 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> `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.

This pull request has now been integrated.

Changeset: ef345e78
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ef345e78797026b946aa5d91d5f6101ef3ad30bf
Stats:     13 lines in 2 files changed: 6 ins; 0 del; 7 mod

8377457: java/util/logging/ParentLoggersTest.java failed intermittently

Reviewed-by: alanb, jpai

-------------

PR: https://git.openjdk.org/jdk/pull/29634


More information about the core-libs-dev mailing list