RFR: 8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock

Coleen Phillimore coleenp at openjdk.org
Fri Apr 28 15:06:25 UTC 2023


On Fri, 28 Apr 2023 13:15:20 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> A concurrent GC with concurrent class unloading can't currently walk the CLDG without the CLDG_lock today. We should add some synchronization code so it can do that safely. This patch adds the missing bits.

Looks good to me too. Thanks for the preview, Erik.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13718#pullrequestreview-1406117187


More information about the hotspot-runtime-dev mailing list