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
--- a/hotspot/src/share/vm/opto/escape.cpp Mon Jan 04 18:38:08 2010 +0100
+++ b/hotspot/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;