6913075: EA identifies escape state incorrectly after 6895383 fix
authorkvn
Mon, 04 Jan 2010 15:21:09 -0800 (2010-01-04)
changeset 4565 cbb3fed38514
parent 4564 55dfb20908d0
child 4566 b363f6ef4068
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
hotspot/src/share/vm/opto/escape.cpp
--- 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;