[11] RFR(XS): 8197828: Null pointer dereference in MultiNode::proj_out_or_null

Vladimir Kozlov vladimir.kozlov at oracle.com
Tue Feb 13 17:47:35 UTC 2018


I think we should do realtime check for NULL and use this->in(0) (allocation's control edge) if Initialize node is 
missing which could happen.

Thanks,
Vladimir

On 2/13/18 2:38 AM, Tobias Hartmann wrote:
> Hi,
> 
> please review the following patch that adds a null check for the return value of AllocateNode::initialization():
> https://bugs.openjdk.java.net/browse/JDK-8197828
> http://cr.openjdk.java.net/~thartmann/8197828/webrev.00/
> 
> Thanks,
> Tobias
> 


More information about the hotspot-compiler-dev mailing list