# HG changeset patch # User kvn # Date 1262647269 28800 # Node ID 4b84186a8248d2d9a29b063465396dc4b4685a8a # Parent e66fd840cb6ba45f28df478c457d9fe7b9dc9b19 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 diff -r e66fd840cb6b -r 4b84186a8248 src/share/vm/opto/escape.cpp --- 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;