...
VNA05-EX1: This rule can be ignored for systems platforms that guarantee that 64-bit, long
and double
values are read and written as atomic operations. Note, however, that such guarantees fail to be portable across systemsdifferent platforms.
Risk Assessment
Failure to ensure the atomicity of operations involving 64-bit values in multithreaded applications can result in reading and writing indeterminate values. Many JVMs read and write 64-bit values atomically, even though the specification does not require them to.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f93c60d791b91f2a-072fb27a-4394441a-a4779716-151b277b6cc07def58ac9f4e"><ac:plain-text-body><![CDATA[ | [[Goetz 2006 | AA. Bibliography#Goetz 06]] | 3.1.2. Non-Atomic 64-Bit Operations | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e477794801b3ebde-c1c05858-4c7d4ee9-9c90a4c0-ac8b23cf2908b8bf300d11ab"><ac:plain-text-body><![CDATA[ | [[Goetz 2004c | AA. Bibliography#Goetz 04c]] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b34e85b4705522dd-790869d3-44784845-b215af32-565f9304c8354edb4904b735"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | 17.7 Non-atomic Treatment of double and long | ]]></ac:plain-text-body></ac:structured-macro> |
...