RFR(S) 8194988: 8 Null pointer dereference defect groups related to MultiNode::proj_out()
vladimir.kozlov at oracle.com
Wed Jan 17 19:05:35 UTC 2018
On 1/17/18 10:16 AM, dean.long at oracle.com wrote:
> I introduced MultiNode::proj_out_or_null() for paths that either check
> the result before dereferencing or don't dereference at all. Paths that
> dereference without checking the return value will continue using
> proj_out(), where I added an assert that the return value is not NULL.
> This preserves current behavior except that we will assert instead of
> trapping with SEGV, and it makes the static analyzer happy.
More information about the hotspot-compiler-dev