On Wed, 25 Feb 2026 18:36:06 GMT, Phil Race <[email protected]> wrote:
> This fixes a problem whereby because a bound up call stub method handle holds > on to the bound argument using a JNI Global Ref, GC of that object is > prevented until the method handle is freed. > In the font layout code this causes us to be unable to collect fonts which > are used as the bound argument. > So this fix changes from using the bound arg to using the existing scoped > value font. This pull request has now been integrated. Changeset: c6a20173 Author: Phil Race <[email protected]> URL: https://git.openjdk.org/jdk/commit/c6a20173a37ec56f3264d5a312543bdfc40ce3d2 Stats: 39 lines in 1 file changed: 10 ins; 23 del; 6 mod 8378615: FFM Bound up call stub keeps JNI Global Ref to bound parameter Reviewed-by: jdv, psadhukhan ------------- PR: https://git.openjdk.org/jdk/pull/29924
