RFR: 8347392: Thread-unsafe implementation of c.s.j.scene.control.skin.Utils [v2]
Michael Strauß
mstrauss at openjdk.org
Fri Feb 7 17:48:16 UTC 2025
On Fri, 7 Feb 2025 16:33:27 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.
>
> Andy Goryachev has updated the pull request incrementally with one additional commit since the last revision:
>
> review comments
Marked as reviewed by mstrauss (Reviewer).
-------------
PR Review: https://git.openjdk.org/jfx/pull/1691#pullrequestreview-2602418608
More information about the openjfx-dev
mailing list