Mercurial > hg > graal-compiler
diff src/share/vm/opto/escape.cpp @ 1136:4b84186a8248
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
author | kvn |
---|---|
date | Mon, 04 Jan 2010 15:21:09 -0800 |
parents | 7fee0a6cc6d4 |
children | c52275c698d1 |
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp Mon Jan 04 18:38:08 2010 +0100 +++ b/src/share/vm/opto/escape.cpp Mon Jan 04 15:21:09 2010 -0800 @@ -1916,7 +1916,7 @@ Node *arg = call->in(i)->uncast(); if (at->isa_oopptr() != NULL && - ptnode_adr(arg->_idx)->escape_state() < PointsToNode::ArgEscape) { + ptnode_adr(arg->_idx)->escape_state() < PointsToNode::GlobalEscape) { bool global_escapes = false; bool fields_escapes = false;