OpenJDK / jdk / jdk
changeset 56194:d6e2dbf20eaa
8230363: C2: Let ConnectionGraph::not_global_escape(Node* n) return false if n is not in the CG
Reviewed-by: thartmann, mdoerr
author | rrich |
---|---|
date | Fri, 30 Aug 2019 09:24:54 +0200 |
parents | 66c880e5d21d |
children | 5aaf53d4fe63 |
files | src/hotspot/share/opto/escape.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/opto/escape.cpp Fri Sep 06 09:26:23 2019 +0200 +++ b/src/hotspot/share/opto/escape.cpp Fri Aug 30 09:24:54 2019 +0200 @@ -2178,6 +2178,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)