[concurrency-interest] Semantics of compareAndSwapX
Paul Sandoz
paul.sandoz at oracle.com
Thu Feb 20 05:25:31 EST 2014
On Feb 20, 2014, at 10:48 AM, Andrew Haley <aph at redhat.com> wrote:
>
>> So it really boils down to the semantics of Unsafe.CAS and that was
>> what you were asking earlier.
>
> OK, thanks. Thought so.
>
> So, Back to you, Doug: what are the semantics of Unsafe.CAS ?
>
Perhaps it would help to look at the implementation?
See method inline_unsafe_load_store in:
http://hg.openjdk.java.net/jdk9/dev/hotspot/file/tip/src/share/vm/opto/library_call.cpp
Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20140220/cebcec5d/attachment.bin>
More information about the Concurrency-interest
mailing list