RFR: 8235257: Split 'assert(loader != NULL && oopDesc::is_oop(loader), "loader must be oop")'

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Tue Dec 3 14:39:27 UTC 2019


Actually, I was wondering if it would help also, to add an 
assert(Universe::heap()->is_oop(loader), "as well");

Coleen

On 12/3/19 9:32 AM, Stefan Karlsson wrote:
> Hi all,
>
> Please review this trivial patch to split this assert into two asserts.
>
> https://cr.openjdk.java.net/~stefank/8235257/webrev.01/
> https://bugs.openjdk.java.net/browse/JDK-8235257
>
> We keep hitting this assert in testing and it's unclear if the loader 
> is NULL or if it is a bad oop. I propose that we split it in two.
>
> Thanks,
> StefanK



More information about the hotspot-runtime-dev mailing list