src/share/vm/opto/escape.cpp

changeset 895
424f9bfe6b96
parent 742
892493c3d862
child 1019
49a36a80b0c7
     1.1 --- a/src/share/vm/opto/escape.cpp	Tue Nov 25 13:14:07 2008 -0800
     1.2 +++ b/src/share/vm/opto/escape.cpp	Wed Dec 03 13:41:37 2008 -0800
     1.3 @@ -199,7 +199,8 @@
     1.4    es = ptnode_adr(idx)->escape_state();
     1.5  
     1.6    // if we have already computed a value, return it
     1.7 -  if (es != PointsToNode::UnknownEscape)
     1.8 +  if (es != PointsToNode::UnknownEscape &&
     1.9 +      ptnode_adr(idx)->node_type() == PointsToNode::JavaObject)
    1.10      return es;
    1.11  
    1.12    // PointsTo() calls n->uncast() which can return a new ideal node.

mercurial