hotspot/src/share/vm/opto/compile.cpp
changeset 32202 7e7ad8b06f5b
parent 32082 2a3323e25de1
child 33065 55892792936f
child 33105 294e48b4f704
equal deleted inserted replaced
32089:1f724ee16972 32202:7e7ad8b06f5b
  3313 
  3313 
  3314   Final_Reshape_Counts frc;
  3314   Final_Reshape_Counts frc;
  3315 
  3315 
  3316   // Visit everybody reachable!
  3316   // Visit everybody reachable!
  3317   // Allocate stack of size C->unique()/2 to avoid frequent realloc
  3317   // Allocate stack of size C->unique()/2 to avoid frequent realloc
  3318   Node_Stack nstack(unique() >> 1);
  3318   Node_Stack nstack(live_nodes() >> 1);
  3319   final_graph_reshaping_walk(nstack, root(), frc);
  3319   final_graph_reshaping_walk(nstack, root(), frc);
  3320 
  3320 
  3321   // Check for unreachable (from below) code (i.e., infinite loops).
  3321   // Check for unreachable (from below) code (i.e., infinite loops).
  3322   for( uint i = 0; i < frc._tests.size(); i++ ) {
  3322   for( uint i = 0; i < frc._tests.size(); i++ ) {
  3323     MultiBranchNode *n = frc._tests[i]->as_MultiBranch();
  3323     MultiBranchNode *n = frc._tests[i]->as_MultiBranch();