On Thu, 6 Feb 2025 12:07:57 GMT, David Beaumont <d...@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). This pull request has now been integrated. Changeset: ebcb9a8b Author: David Beaumont <david.beaum...@oracle.com> Committer: Stuart Marks <sma...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/ebcb9a8b128cc6411610566c8368db63d25a5127 Stats: 453 lines in 8 files changed: 430 ins; 8 del; 15 mod 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method Reviewed-by: dfuchs, smarks ------------- PR: https://git.openjdk.org/jdk/pull/23491