RFR(XS): 8044090: C1: Old value instead of new one is passed to post-barrier in UnsafeGetAndSetObject
igor.veresov at oracle.com
Wed May 28 06:38:25 UTC 2014
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).
More information about the hotspot-compiler-dev