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

Erik Österlund eosterlund at openjdk.org
Wed May 3 08:19:24 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.

This pull request has now been integrated.

Changeset: 462b1df7
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/462b1df7587470756d9e565342552d1a52b62c27
Stats:     28 lines in 4 files changed: 8 ins; 12 del; 8 mod

8307106: Allow concurrent GCs to walk CLDG without ClassLoaderDataGraph_lock

Reviewed-by: stefank, aboldtch, coleenp, dholmes

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

PR: https://git.openjdk.org/jdk/pull/13718


More information about the hotspot-runtime-dev mailing list