On Sat, 17 Aug 2024 21:02:59 GMT, Phil Race <p...@openjdk.org> wrote:

> The test in the bug report crashes reliably with JDK 22 on retina.
> It coincides with an update to the macOS compilers which seem likely to 
> eagerly invalidate the target of a CFRelease on the native CTFontRef.
> Adding a ReachabilityFence to prevent the GC from collecting CTFontStrike 
> until after the method has finished using the native fontRef from the strike 
> fixes it.
> The same pattern is observed in 3 other methods (although no crash)  and a 
> fence is added there too.
> 
> There is an existing test, which is how this problem was found.

Reviewers: @kevinrushforth @arapte

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

PR Comment: https://git.openjdk.org/jfx/pull/1537#issuecomment-2296611621

Reply via email to