RFR: 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method [v13]
duke
duke at openjdk.org
Thu Apr 3 19:53:12 UTC 2025
On Wed, 2 Apr 2025 21:59:32 GMT, David Beaumont <duke at openjdk.org> wrote:
>> 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method.
>>
>> 1. Remove synchronization of calls to publish() in Handlers in java.util.logging package.
>> 2. Add explanatory comments to various affected methods.
>> 3. Add a test to ensure deadlocks no longer occur.
>>
>> Note that this change does not address issue in MemoryHandler (see JDK-8349208).
>
> David Beaumont has updated the pull request incrementally with one additional commit since the last revision:
>
> Tweak wording.
@david-beaumont
Your change (at version 8db4c907633fed5aa103b3c4f6aaad5096f0790a) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23491#issuecomment-2776774585
More information about the core-libs-dev
mailing list