src/share/vm/opto/escape.cpp

changeset 9781
1bbf10267ee0
parent 9319
77603437bcee
child 9788
44ef77ad417c
equal deleted inserted replaced
9780:9148fcba5de9 9781:1bbf10267ee0
2112 uint idx = n->_idx; 2112 uint idx = n->_idx;
2113 if (idx >= nodes_size()) { 2113 if (idx >= nodes_size()) {
2114 return false; 2114 return false;
2115 } 2115 }
2116 PointsToNode* ptn = ptnode_adr(idx); 2116 PointsToNode* ptn = ptnode_adr(idx);
2117 if (ptn == NULL) {
2118 return false; // not in congraph (e.g. ConI)
2119 }
2117 PointsToNode::EscapeState es = ptn->escape_state(); 2120 PointsToNode::EscapeState es = ptn->escape_state();
2118 // If we have already computed a value, return it. 2121 // If we have already computed a value, return it.
2119 if (es >= PointsToNode::GlobalEscape) 2122 if (es >= PointsToNode::GlobalEscape)
2120 return false; 2123 return false;
2121 if (ptn->is_JavaObject()) { 2124 if (ptn->is_JavaObject()) {

mercurial