Integrated: 8347392: Thread-unsafe implementation of c.s.j.scene.control.skin.Utils
Andy Goryachev
angorya at openjdk.org
Fri Feb 7 18:16:18 UTC 2025
On Thu, 30 Jan 2025 23:35:05 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> Thread-safe and re-entrant implementation of Utils.
>
> The new code still uses the static instances of Text and TextLayout for performance reasons, but adds a thread-safe mechanism to keep track of whether any of the instances is in use and when that happens, supplies a new instance instead. This solves both thread safety and re-entrancy.
This pull request has now been integrated.
Changeset: 2cf9779b
Author: Andy Goryachev <angorya at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/2cf9779bdef24d4f7ab5becd945b8baa6b0df06a
Stats: 356 lines in 2 files changed: 145 ins; 85 del; 126 mod
8347392: Thread-unsafe implementation of c.s.j.scene.control.skin.Utils
Reviewed-by: kcr, mstrauss
-------------
PR: https://git.openjdk.org/jfx/pull/1691
More information about the openjfx-dev
mailing list