RFR(XS): 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Roland Westrelin
rwestrel at redhat.com
Mon Oct 1 10:09:24 UTC 2018
http://cr.openjdk.java.net/~roland/8211320/webrev.00/
Intrinsics for unsafe.compareAndSetByte() and
unsafe.compareAndSetShort() don't properly deal with sign extension:
load exclusive doesn't sign extend loaded value but comparison is done
with sign extended value.
Roland.
More information about the hotspot-compiler-dev
mailing list