1.1 --- a/src/share/vm/opto/phaseX.hpp Fri Jul 13 20:14:27 2012 -0400 1.2 +++ b/src/share/vm/opto/phaseX.hpp Mon Jul 16 15:31:18 2012 -0400 1.3 @@ -403,6 +403,8 @@ 1.4 // Subsume users of node 'old' into node 'nn' 1.5 void subsume_node( Node *old, Node *nn ); 1.6 1.7 + Node_Stack _stack; // Stack used to avoid recursion 1.8 + 1.9 protected: 1.10 1.11 // Idealize new Node 'n' with respect to its inputs and its value 1.12 @@ -438,8 +440,8 @@ 1.13 // It is significant only for debugging and profiling. 1.14 Node* register_new_node_with_optimizer(Node* n, Node* orig = NULL); 1.15 1.16 - // Kill a globally dead Node. It is allowed to have uses which are 1.17 - // assumed dead and left 'in limbo'. 1.18 + // Kill a globally dead Node. All uses are also globally dead and are 1.19 + // aggressively trimmed. 1.20 void remove_globally_dead_node( Node *dead ); 1.21 1.22 // Kill all inputs to a dead node, recursively making more dead nodes.