RFR(XS): JDK-8199559: objArrayKlass::oop_iterate() and friends must use base_raw() instead of base() (original) (raw)

Roman Kennke rkennke at redhat.com
Tue Mar 13 20:00:55 UTC 2018


Currently, objArrayKlass::oop_iterate() and related methods use base() to get the actual starting address of the array. However, base() resolves the oop via barriers. oop_iterate() is used solely by GC code, which requires direct access to the array, no matter which copy, and thus needs to use base_raw() instead.

Bug: https://bugs.openjdk.java.net/browse/JDK-8199559 Webrev: http://cr.openjdk.java.net/~rkennke/8199559/webrev.00/

Can I please get a review?

Thanks, Roman

-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180313/bf88001a/signature.asc>



More information about the hotspot-gc-dev mailing list