RFR (M) 8157726: VarHandles/Unsafe should support sub-word atomic ops [RESEND]
aleksey.shipilev at oracle.com
Mon May 30 10:38:46 UTC 2016
On 05/30/2016 01:32 PM, Vladimir Ivanov wrote:
> Looks good.
> + case vmIntrinsics::_weakCompareAndSwapObjectVolatile:
> + case vmIntrinsics::_weakCompareAndSwapLongVolatile:
> + case vmIntrinsics::_weakCompareAndSwapIntVolatile:
> Was it overlooked in one of previous VH-related changes?
Yes, we apparently missed that in JDK-8155965, added here for
consistency reasons. It is a bug waiting to happen: while we currently
"fail" the compilation when C2 cannot match the nodes, we should check
it routinely in c2compiler.cpp.
More information about the jdk9-dev