changeset 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 e66fd840cb6b
children 97125851f396
files src/share/vm/opto/escape.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;