RFR: 8245236: Remove MO_VOLATILE Access decorator
Kim Barrett
kim.barrett at oracle.com
Tue May 19 22:18:19 UTC 2020
> On May 19, 2020, at 4:06 AM, Thomas Schatzl <thomas.schatzl at oracle.com> wrote:
>
> Hi,
>
> On 19.05.20 07:24, Kim Barrett wrote:
>> Please review this change with replaces uses of the MO_VOLATILE memory
>> order Access decorator with uses of the MO_RELAXED decorator. Uses of
>> MO_VOLATILE generally assume non-word-tearing semantics, so a relaxed
>> atomic access is more appropriate. As a result, we can eliminate the
>> MO_VOLATILE decorator.
>> CR:
>> https://bugs.openjdk.java.net/browse/JDK-8245236
>> Webrev:
>> https://cr.openjdk.java.net/~kbarrett/8245236/open.00/
>> Testing:
>> mach5 tier1.
>
> looks good.
>
> Thomas
Thanks.
More information about the hotspot-dev
mailing list