> 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

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1691/files
  - new: https://git.openjdk.org/jfx/pull/1691/files/203f8de6..1e9cb5d5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1691&range=01
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1691&range=00-01

  Stats: 7 lines in 1 file changed: 1 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jfx/pull/1691.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1691/head:pull/1691

PR: https://git.openjdk.org/jfx/pull/1691

Reply via email to