On Thu, 30 Jan 2025 23:35:05 GMT, Andy Goryachev <ango...@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.

@kevinrushforth I'd suggest to take a look at this first, as it blocks some 
other fixes.  thanks!

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

PR Comment: https://git.openjdk.org/jfx/pull/1691#issuecomment-2641273730

Reply via email to