RFR(XS): 8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject
Igor Veresov
igor.veresov at oracle.com
Wed May 28 17:44:41 UTC 2014
Thanks Roland and Vladimir!
igor
On May 28, 2014, at 5:04 AM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> 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