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

Severin Gehwolf sgehwolf at openjdk.org
Mon Jul 14 08:28:52 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.

The risk of introducing this change doesn't outweigh the benefit of fixing an async profiler issue at this point in time of JDK 11 life-cycle. Users need to either a) run without async-profiler b) upgrade to JDK 17.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3059#issuecomment-3068370623


More information about the jdk-updates-dev mailing list