RFR: 8245236: Remove MO_VOLATILE Access decorator

Thomas Schatzl thomas.schatzl at oracle.com
Tue May 19 08:06:59 UTC 2020


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


More information about the hotspot-dev mailing list