RFR: 8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList
Zhengyu Gu
zgu at openjdk.org
Thu Jun 27 12:45:10 UTC 2024
On Thu, 27 Jun 2024 07:55:47 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Seems appropriate. It isn't very clear which methods are actually used lock-free.
>
> Thanks
Thanks for reviewing.
I believe the lock-free method (`ClassLoaderData::ChunkedHandleList::oops_do()`) is called during class loader root scanning by GCs. Z and Shenandoah GC scan class loader roots in concurrent phase.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19919#issuecomment-2194579148
More information about the hotspot-runtime-dev
mailing list