diff options
author | rrich <unknown> | 2019-08-30 09:24:54 +0200 |
---|---|---|
committer | bell-sw <liberica@bell-sw.com> | 2020-01-19 09:12:35 +0300 |
commit | 44741d6bcd1726b85165fb17c27f5a3625424dce (patch) | |
tree | a11a1fe4a51e9a4ee1b4dfd000789167922c109d | |
parent | 8237be7969cd881548e0eaede99a0676f556bba7 (diff) | |
download | jdk8u_hotspot-44741d6bcd1726b85165fb17c27f5a3625424dce.tar.gz |
8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
-rw-r--r-- | src/share/vm/opto/escape.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/share/vm/opto/escape.cpp b/src/share/vm/opto/escape.cpp index 77c49ba72..ac8217382 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) |