RFR(XXS) - JDK-8009539 - JVM crash when run lambda testng tests

Bharadwaj Yadavalli bharadwaj.yadavalli at oracle.com
Thu Mar 21 18:39:01 PDT 2013


On 3/21/2013 7:12 PM, Morris Meyer wrote:
> How about adding:
>
> Klass* ary_klass = arytype->klass();
> if (ary_klass != NULL && !ary_klass->is_loaded()) {
>
Thanks Morris. Updated webrev.

Please review the change whose details are as follows:

Summary of the change: No class is associated with array classes of 
bottom type. Dereferencing a null class to test if it is unloaded, 
results in segmentation violation. Further there is no need to test if 
such classes were not loaded. Added a check to ensure that NULL pointer 
is not dereferenced.

Webrev: http://cr.openjdk.java.net/~bharadwaj/8009539/webrev/
Bug fixed: https://jbs.oracle.com/bugs/browse/JDK-8009539

Thanks,

Bharadwaj



More information about the hotspot-compiler-dev mailing list