Integrated: 8351038: ConcurrentModificationException in EventType constructor
Andy Goryachev
angorya at openjdk.org
Wed Mar 19 14:18:30 UTC 2025
On Wed, 5 Mar 2025 18:40:36 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> - synchronized `EventType::register()` method
> - simplified internal constructor which is only used for `EventType.ROOT`
>
> There should negligent impact on performance when `EventTypes` are created in the FX Application Thread.
>
> There might be a distant potential for a deadlock if the application wraps code that creates `EventTypes` in a block synchronized on a different object.
This pull request has now been integrated.
Changeset: 0e509616
Author: Andy Goryachev <angorya at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/0e50961631ebaa2ac2fc5132f0e4c8c3efa72d3d
Stats: 83 lines in 2 files changed: 64 ins; 13 del; 6 mod
8351038: ConcurrentModificationException in EventType constructor
Reviewed-by: arapte, mstrauss
-------------
PR: https://git.openjdk.org/jfx/pull/1729
More information about the openjfx-dev
mailing list