Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/escape.cpp @ 460:424f9bfe6b96
6775880: EA +DeoptimizeALot: assert(mon_info->owner()->is_locked(),"object must be locked now")
Summary: Create new "eliminated" BoxLock node for monitor debug info when corresponding locks are eliminated.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 03 Dec 2008 13:41:37 -0800 |
parents | 892493c3d862 |
children | 49a36a80b0c7 |
comparison
equal
deleted
inserted
replaced
459:3a86a8dcf27c | 460:424f9bfe6b96 |
---|---|
197 return PointsToNode::UnknownEscape; | 197 return PointsToNode::UnknownEscape; |
198 | 198 |
199 es = ptnode_adr(idx)->escape_state(); | 199 es = ptnode_adr(idx)->escape_state(); |
200 | 200 |
201 // if we have already computed a value, return it | 201 // if we have already computed a value, return it |
202 if (es != PointsToNode::UnknownEscape) | 202 if (es != PointsToNode::UnknownEscape && |
203 ptnode_adr(idx)->node_type() == PointsToNode::JavaObject) | |
203 return es; | 204 return es; |
204 | 205 |
205 // PointsTo() calls n->uncast() which can return a new ideal node. | 206 // PointsTo() calls n->uncast() which can return a new ideal node. |
206 if (n->uncast()->_idx >= nodes_size()) | 207 if (n->uncast()->_idx >= nodes_size()) |
207 return PointsToNode::UnknownEscape; | 208 return PointsToNode::UnknownEscape; |