RFR: 8199739: Use HeapAccess when loading oops from static fields in javaClasses.cpp
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Fri Mar 16 15:04:43 UTC 2018
This looks great.
Coleen
On 3/16/18 10:39 AM, Stefan Karlsson wrote:
> Hi all,
>
> Please review this patch to use HeapAccess<>::oop_load instead of
> oopDesc::load_decode_heap_oop when loading oops from static fields in
> javaClasses.cpp:
>
> http://cr.openjdk.java.net/~stefank/8199739/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8199739
>
> It's necessary to use HeapAccess<>::oop_load to inject load barriers
> for GCs that need them.
>
> Thanks,
> StefanK
More information about the hotspot-dev
mailing list