RFR(XXS) - JDK-8009539 - JVM crash when run lambda testng tests
Morris Meyer
morris.meyer at oracle.com
Thu Mar 21 16:12:51 PDT 2013
How about adding:
Klass* ary_klass = arytype->klass();
if (ary_klass != NULL && !ary_klass->is_loaded()) {
--mm
On 3/21/13 6:42 PM, Bharadwaj Yadavalli wrote:
> 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 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