hotspot/src/share/vm/opto/escape.cpp
changeset 1613 be097ec639a2
parent 1069 ef51f81ebe0f
child 2110 40e42c95ac39
--- a/hotspot/src/share/vm/opto/escape.cpp	Tue Nov 25 13:14:07 2008 -0800
+++ b/hotspot/src/share/vm/opto/escape.cpp	Wed Dec 03 13:41:37 2008 -0800
@@ -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.