RFR: 8368303: AlwaysAtomicAccesses is excessively strict [v2]
Aleksey Shipilev
shade at openjdk.org
Mon Oct 6 13:40:07 UTC 2025
On Thu, 2 Oct 2025 22:22:50 GMT, Dean Long <dlong at openjdk.org> wrote:
>> Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Next try
>
> src/hotspot/share/gc/shared/c1/barrierSetC1.cpp line 45:
>
>> 43: // The JMM requires atomicity for all accesses to fields of primitive
>> 44: // types other than double and long. In practice, HotSpot assumes that
>> 45: // on all all processors, accesses to memory operands of wordSize and
>
> Suggestion:
>
> // on all processors, accesses to memory operands of wordSize and
^^^
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27432#discussion_r2406363375
More information about the hotspot-dev
mailing list