[aarch64-port-dev ] RFR: [8u] JDK-8211320: AArch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value

Andrew Dinn adinn at redhat.com
Tue Aug 27 16:18:57 UTC 2019


I was asked to look at backporting this patch to jdk8u-shenandoah.
However, I don't believe a backport is appropriate.

The patch updates ad file encodings and associated assembler cmpxchg
method code for rules that match CompareAndExchangeB/S and
CompareAndSwapB/S. Those cases do not apply to jdk8u where there are no
CompareAndExchange rules and CompareAndSwap rules are only defined for
I/L/N/P. I'm bery happy to be corrected if I am missing something.

regards,


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 aarch64-port-dev mailing list