[jmm-dev] jdk9 APIs

Andrew Haley aph at redhat.com
Sat Aug 22 08:43:32 UTC 2015


On 08/21/2015 02:54 PM, Aleksey Shipilev wrote:
> Um, I have a stupid question. What's the story with non-x86 processors
> here? Do we have any machines that do not have an explicit CAS, but only
> have LL/SC?

Yes, we do.

> Returning the failure witness does not seem doable with
> LL/SC-emulated CAS.

In fact it's the other way around: it's difficult (or, for all
practical purposes, impossible) to emulate LL/SC with CAS, but easy to
emulate CAS with LL/SC.

Andrew.



More information about the jmm-dev mailing list