RFR: JDK-8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()

Thomas Schatzl thomas.schatzl at oracle.com
Thu Aug 9 09:36:44 UTC 2018


Hi,

On Thu, 2018-08-09 at 10:50 +0200, Roman Kennke wrote:
> Asserts in objArrayKlass.cpp need to use _raw variants of
> obj_at_addr() (in ObjArrayKlass::copy_array), otherwise they go
> through resolve() and may get a different copy of the array, and fail
> the assert.
> 
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8204969
> Webrev:
> http://cr.openjdk.java.net/~rkennke/JDK-8204969/webrev.00/
> 
> Can I get a review? Also, does it qualify as trivial?

  looks good.

Thomas



More information about the hotspot-gc-dev mailing list