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

John Rose john.r.rose at oracle.com
Tue Jul 19 18:56:36 UTC 2016

On Jul 19, 2016, at 7:23 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> Here is an initial (and untested) webrev for those that might be interested:
>  http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8161444-vhs-bitwise-atomics/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8161444-vhs-bitwise-atomics/webrev/> <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8161444-vhs-bitwise-atomics/webrev/ <http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8161444-vhs-bitwise-atomics/webrev/>>

I like this very much.

Mainly because it gives us single-bit atomics, but also because, with C++, it leans towards the newer ISAs.

— John

More information about the jmm-dev mailing list