RFR(M): 8202080: Introduce ordering semantics for Atomic::add

Andrew Haley aph at redhat.com
Mon Apr 23 12:44:20 UTC 2018

On 04/21/2018 08:53 AM, Erik Österlund wrote:
> I for one welcome using C++11 atomic semantics, and would like to 
> outline why.

Thank you for the explanation.  All I need to do is add a huge "+1"
to all of this.  In time we're going to have a world where code in
other languages can be called from Java without the fencing that's in
JNI, and we're really going to need to have compatible memory models
for that to work well.

Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

More information about the hotspot-runtime-dev mailing list