RFR: 8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList [v2]
David Holmes
dholmes at openjdk.org
Wed Jul 3 06:58:23 UTC 2024
On Fri, 28 Jun 2024 15:57:12 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:
>> @zhengyu123 I still would like to see this line getting reverted.
>
> I agree.
Unless we can establish that `_head` here must have already been seen by the thread invoking the destructor, then this has the same potential problem as all the other reads of `_head`: without acquire you may not see the correct value of `_next`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19919#discussion_r1663615067
More information about the hotspot-runtime-dev
mailing list