8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG

Fri, 30 Aug 2019 09:24:54 +0200

author
rrich
date
Fri, 30 Aug 2019 09:24:54 +0200
changeset 9781
1bbf10267ee0
parent 9780
9148fcba5de9
child 9782
c2fa0ac49d01

8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr

src/share/vm/opto/escape.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/vm/opto/escape.cpp	Thu Nov 07 17:56:14 2019 -0500
     1.2 +++ b/src/share/vm/opto/escape.cpp	Fri Aug 30 09:24:54 2019 +0200
     1.3 @@ -2114,6 +2114,9 @@
     1.4      return false;
     1.5    }
     1.6    PointsToNode* ptn = ptnode_adr(idx);
     1.7 +  if (ptn == NULL) {
     1.8 +    return false; // not in congraph (e.g. ConI)
     1.9 +  }
    1.10    PointsToNode::EscapeState es = ptn->escape_state();
    1.11    // If we have already computed a value, return it.
    1.12    if (es >= PointsToNode::GlobalEscape)

mercurial