Mon, 04 Jan 2010 15:21:09 -0800
6913075: EA identifies escape state incorrectly after 6895383 fix
Summary: EA incorrectly identifies escape state of an allocation passed as call argument.
Reviewed-by: never
src/share/vm/opto/escape.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/opto/escape.cpp Mon Jan 04 18:38:08 2010 +0100 1.2 +++ b/src/share/vm/opto/escape.cpp Mon Jan 04 15:21:09 2010 -0800 1.3 @@ -1916,7 +1916,7 @@ 1.4 Node *arg = call->in(i)->uncast(); 1.5 1.6 if (at->isa_oopptr() != NULL && 1.7 - ptnode_adr(arg->_idx)->escape_state() < PointsToNode::ArgEscape) { 1.8 + ptnode_adr(arg->_idx)->escape_state() < PointsToNode::GlobalEscape) { 1.9 1.10 bool global_escapes = false; 1.11 bool fields_escapes = false;