RFR: JDK-8201442: objArrayOopDesc::atomic_compare_exchange_oop() must use obj+offset in HeapAccess call

Roman Kennke rkennke at redhat.com
Wed Apr 11 19:49:01 UTC 2018


Please review the following little change.


objArrayOopDesc::atomic_compare_exchange_oop() currently computes and
uses a raw pointer to pass to HeapAccess::oop_atomic_cmpxchg(). It
should use the object+offset variant because it's accessing the heap and
GC might need to resolve the target object (e.g. Shenandoah).

http://cr.openjdk.java.net/~rkennke/JDK-8201442/webrev.01/

Testing: hotspot-tier1


Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20180411/710a7f1a/signature.asc>


More information about the hotspot-gc-dev mailing list