RFR(XS): JDK-8199559: objArrayKlass::oop_iterate() and friends must use base_raw() instead of base() (original) (raw)
Thomas Schatzl thomas.schatzl at oracle.com
Wed Mar 14 10:54:07 UTC 2018
- Previous message (by thread): RFR(XS): JDK-8199559: objArrayKlass::oop_iterate() and friends must use base_raw() instead of base()
- Next message (by thread): RFR: JDK-8199612: Replace remaining uses of G1BarrierSet::enqueue() with appropriate Access API calls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On Tue, 2018-03-13 at 21:00 +0100, Roman Kennke wrote:
Currently, objArrayKlass::oopiterate() and related methods use base() to get the actual starting address of the array. However, base() resolves the oop via barriers. oopiterate() is used solely by GC code, which requires direct access to the array, no matter which copy, and thus needs to use baseraw() 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?
looks good.
Thomas
- Previous message (by thread): RFR(XS): JDK-8199559: objArrayKlass::oop_iterate() and friends must use base_raw() instead of base()
- Next message (by thread): RFR: JDK-8199612: Replace remaining uses of G1BarrierSet::enqueue() with appropriate Access API calls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]