On Fri, 24 Jul 2026 11:44:18 GMT, Per Minborg <[email protected]> wrote:
>> As I said "not obvious". :) So we have: >> >> set(array, index, mutex, newValue); // putReferenceRelease of newValue >> putReferenceVolatile(mutexes, offset, TOMB_STONE); >> mutexes = null; // volatile write >> >> Thanks for clarifying. > > We should revisit this and make the semantics clearer. Either via comments or > by always using Unsafe for access. https://bugs.openjdk.org/browse/JDK-8389116 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31979#discussion_r3654687501
