RFR: 8197999: Accessors in typeArrayOopDesc should use new Access API

Roman Kennke rkennke at redhat.com
Thu Feb 15 22:54:01 UTC 2018


The accessors in typeArrayOop.hpp still access the heap directly, but
they should go through the new Access API instead (so that GCs can
intercept it, if they wish). This changeset fixes this.

In order to avoid excessive inclusion of stuff (esp. into
precompiled.hpp), the actual code has been moved into
typeArrayOop.inline.hpp, and corresponding includes added whereever
needed.

Webrev:
http://cr.openjdk.java.net/~rkennke/8197999/webrev.00/

Bug:
https://bugs.openjdk.java.net/browse/JDK-8197999

Please review!

Thanks, Roman


More information about the hotspot-runtime-dev mailing list