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

Paul Hohensee phh at openjdk.org
Wed Jul 9 18:11:46 UTC 2025


On Tue, 8 Jul 2025 14:55:21 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:

> I've been working on a backport to fix [JDK-8339725](https://bugs.openjdk.org/browse/JDK-8339725). The fix attached to 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.

This looks ok, but why is it needed as a prereq for [JDK-8339725](https://bugs.openjdk.org/browse/JDK-8339725)?

Given that 11u is old, why do you want to backport it? Do you have production use issues? I recommend running both tier1 and tier2, with both fastdebug and release JDKs.

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

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3059#pullrequestreview-3002614212


More information about the jdk-updates-dev mailing list