[jmm-dev] bitwise RMW operators, specifically testAndSetBit/BTS

Martin Buchholz martinrb at google.com
Wed Jul 20 00:25:22 UTC 2016

On Tue, Jul 19, 2016 at 1:51 PM, Andrew Haley <aph at redhat.com> wrote:

> On 19/07/16 09:39, Paul Sandoz wrote:
> > Plain behaves like non-volatile/non-final field access e.g. like
> > get/putfield byte codes.

We should probably clarify whether we really mean that even word-tearing on
longs/doubles is allowed.

C++ relaxed atomics are (perhaps!) stronger than "plain" in two senses:
truly atomic (!) and single-memory-location-sequentially-consistent.

More information about the jmm-dev mailing list