On Tue, 10 Feb 2026 11:06:30 GMT, Alan Bateman <[email protected]> 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. > > The intermittent failures were with JTREG_TEST_THREAD_FACTORY=Virtual runs > and it was indeed that the returned list of loggers didn't match. It was > changed to read the parent field once in the loom repo and the test no longer > fails. Thanks @AlanBateman and @jaikiran for the reviews! ------------- PR Comment: https://git.openjdk.org/jdk/pull/29634#issuecomment-3877941367
