diff src/share/vm/opto/escape.cpp @ 467:8724fb00c422

Merge
author blacklion
date Fri, 05 Dec 2008 15:06:37 -0500
parents 424f9bfe6b96
children 49a36a80b0c7
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp	Thu Dec 04 17:48:02 2008 -0800
+++ b/src/share/vm/opto/escape.cpp	Fri Dec 05 15:06:37 2008 -0500
@@ -199,7 +199,8 @@
   es = ptnode_adr(idx)->escape_state();
 
   // if we have already computed a value, return it
-  if (es != PointsToNode::UnknownEscape)
+  if (es != PointsToNode::UnknownEscape &&
+      ptnode_adr(idx)->node_type() == PointsToNode::JavaObject)
     return es;
 
   // PointsTo() calls n->uncast() which can return a new ideal node.