RFR: 8288904: Incorrect memory ordering in UL [v2]
David Holmes
dholmes at openjdk.org
Wed Jun 22 22:01:54 UTC 2022
On Wed, 22 Jun 2022 13:54:00 GMT, Johan Sjölén <duke at openjdk.org> wrote:
> There are some details here which I have omitted, but this is the gist of it.
@jdksjolen - it is the actual details I have concerns about. More seems to be done than just a pointer switch to unlink, and the unlink itself is not an atomic operation - are we guaranteed only a single writer is possible? And even so, as others have noted, without atomics or barriers there is no guarantee readers will see the unlink has happened. I'm a bit surprised as this code has been extensively examined in the past.
-------------
PR: https://git.openjdk.org/jdk/pull/9225
More information about the hotspot-runtime-dev
mailing list