1.1 --- a/src/share/vm/opto/domgraph.cpp Tue Jun 12 14:31:44 2012 -0700 1.2 +++ b/src/share/vm/opto/domgraph.cpp Tue Jun 12 16:23:31 2012 -0700 1.3 @@ -465,15 +465,11 @@ 1.4 // Kill dead input path 1.5 assert( !visited.test(whead->in(i)->_idx), 1.6 "input with no loop must be dead" ); 1.7 - _igvn.hash_delete(whead); 1.8 - whead->del_req(i); 1.9 - _igvn._worklist.push(whead); 1.10 + _igvn.delete_input_of(whead, i); 1.11 for (DUIterator_Fast jmax, j = whead->fast_outs(jmax); j < jmax; j++) { 1.12 Node* p = whead->fast_out(j); 1.13 if( p->is_Phi() ) { 1.14 - _igvn.hash_delete(p); 1.15 - p->del_req(i); 1.16 - _igvn._worklist.push(p); 1.17 + _igvn.delete_input_of(p, i); 1.18 } 1.19 } 1.20 i--; // Rerun same iteration