RFR: 8355627: Don't use ThreadCritical for EventLog list [v2]
Martin Doerr
mdoerr at openjdk.org
Mon May 5 13:42:57 UTC 2025
On Mon, 5 May 2025 13:30:29 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
>> First of all, nothing on the writer's side can fix the reader's side.
>>
>> We're basically relying on volatile load + dependency chain on the reader's side. This is very likely to work, but C++ memory model specialists may find this questionable.
>
> Are we on the same page? which `load` you are talking about?
I'm talking about `Atomic::load()` which is essentially a volatile load without ordering.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24954#discussion_r2073472029
More information about the hotspot-dev
mailing list