RFR: 8016538: volatile double access via Unsafe.cpp is not atomic

John Rose john.r.rose at oracle.com
Fri Jul 12 17:09:32 PDT 2013


On Jul 10, 2013, at 3:52 PM, David Holmes <david.holmes at oracle.com> wrote:

> We do not need conditional compilation here. We don't use it for jlong and should not use it for jdouble. The whole point of these inline OrderAccess and Atomic methods is that we can express things in a semantically correct form and anything not needed on a given platform simply disappears.

That is well said, and a good principle to remember in general.  — John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130712/f9317846/attachment.html 


More information about the hotspot-runtime-dev mailing list