RFR: 8353683: [REDO] j.u.l.Handler classes create deadlock risk via synchronized publish() method

duke duke at openjdk.org
Thu Apr 10 15:56:37 UTC 2025


On Tue, 8 Apr 2025 11:00:27 GMT, David Beaumont <duke at openjdk.org> wrote:

> 8353683: 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 
Your change (at version 772a03e0ca08da9412b85ceb8de5adf4fb52d2ac) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/24504#issuecomment-2794332106


More information about the core-libs-dev mailing list