RFR(XS): 8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed May 28 15:04:34 UTC 2014

Looks good.

Best regards,
Vladimir Ivanov

On 5/28/14 10:38 AM, Igor Veresov wrote:
> I didn’t notice this before but in UnsafeGetAndSetObject on C1 SPARC we’re passing an old value (which we are getting as a result of the xchg) to the post-barrier, while it really expect the new value (what was stored into memory).
> Webrev: http://cr.openjdk.java.net/~iveresov/8044090/webrev.00/
> Thanks!
> igor

More information about the hotspot-compiler-dev mailing list