[jdk11u-dev] RFR: 8214972: Uses of klass_holder() except GC need to apply GC barriers

Francesco Andreuzzi duke at openjdk.org
Tue Jul 8 15:32:59 UTC 2025


I've been working on a backport to fix [JDK-8339725](https://bugs.openjdk.org/browse/JDK-8339725) on jdk11. The fix mentioned in the ticket is not enough to fix the problem on jdk11. 

The missing backport is JDK-8214972, which I apply in this PR. JDK-8210321 is also needed to provide `ClassLoaderData::holder_no_keepalive`.

Tier1 tests completed successfully.

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

Commit messages:
 - 8214972: Uses of klass_holder() except GC need to apply GC barriers
 - Backport c8be22851361edfd5bc172f25d07058bbf615478

Changes: https://git.openjdk.org/jdk11u-dev/pull/3059/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3059&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8214972
  Stats: 40 lines in 11 files changed: 15 ins; 16 del; 9 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3059.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3059/head:pull/3059

PR: https://git.openjdk.org/jdk11u-dev/pull/3059


More information about the jdk-updates-dev mailing list