# HG changeset patch # User rrich # Date 1567149894 -7200 # Node ID 1bbf10267ee0af94fb41e967f13db20c4a3376f8 # Parent 9148fcba5de91396843df7956751e85631c5a9fc 8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG Reviewed-by: thartmann, mdoerr diff -r 9148fcba5de9 -r 1bbf10267ee0 src/share/vm/opto/escape.cpp --- a/src/share/vm/opto/escape.cpp Thu Nov 07 17:56:14 2019 -0500 +++ b/src/share/vm/opto/escape.cpp Fri Aug 30 09:24:54 2019 +0200 @@ -2114,6 +2114,9 @@ return false; } PointsToNode* ptn = ptnode_adr(idx); + if (ptn == NULL) { + return false; // not in congraph (e.g. ConI) + } PointsToNode::EscapeState es = ptn->escape_state(); // If we have already computed a value, return it. if (es >= PointsToNode::GlobalEscape)