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

Per Liden per.liden at oracle.com
Wed Feb 21 09:59:18 UTC 2018


Hi Roman,

On 02/15/2018 11:54 PM, Roman Kennke wrote:
> 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/
> 

Looks good!

/Per

> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8197999
> 
> Please review!
> 
> Thanks, Roman
> 


More information about the hotspot-runtime-dev mailing list