diff --git a/src/share/vm/opto/escape.cpp b/src/share/vm/opto/escape.cpp index 77c49ba7267b951b921ff8361250e0203f45d02f..ac8217382da2e3c1473c1708ce8f906fb708fb0e 100644 --- a/src/share/vm/opto/escape.cpp +++ b/src/share/vm/opto/escape.cpp @@ -2114,6 +2114,9 @@ bool ConnectionGraph::not_global_escape(Node *n) { 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)