[aarch64-port-dev ] [10] RFR(S): 8186297: AARCH64: Intrinsify Unsafe.compareAndSetByte and compareAndSetShort

Andrew Dinn adinn at redhat.com
Fri Aug 18 08:24:44 UTC 2017

Hi Dmitrij,

On 17/08/17 11:38, Dmitrij Pochepko wrote:
> thank you for catching this! here is a webrev that fixes the issue you
> pointed out to:
> http://cr.openjdk.java.net/~dpochepk/8186297/webrev.02/
> I believe it’s good enough for the Unsafe intrinsic which is the purpose
> of this fix. I’ll consider adding pair rules and tidy up that area in a
> separate enhancement if you don’t mind.
Sure, this is good enough as is. The special case handling would be nice
but is not urgent. When you do add the pair rules don't forget to update
is_CAS :-)

Thanks for fixing this.


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the hotspot-compiler-dev mailing list