src/share/vm/opto/block.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8136457 Cdiff src/share/vm/opto/block.cpp

src/share/vm/opto/block.cpp

Print this page
rev 7539 : 8011858: Use Compile::live_nodes() instead of Compile::unique() in appropriate places
Reviewed-by: kvn, vlivanov
Contributed-by: vlad.ureche@gmail.com

*** 391,401 **** uint PhaseCFG::build_cfg() { Arena *a = Thread::current()->resource_area(); VectorSet visited(a); // Allocate stack with enough space to avoid frequent realloc ! Node_Stack nstack(a, C->unique() >> 1); nstack.push(_root, 0); uint sum = 0; // Counter for blocks while (nstack.is_nonempty()) { // node and in's index from stack's top --- 391,401 ---- uint PhaseCFG::build_cfg() { Arena *a = Thread::current()->resource_area(); VectorSet visited(a); // Allocate stack with enough space to avoid frequent realloc ! Node_Stack nstack(a, C->live_nodes() >> 1); nstack.push(_root, 0); uint sum = 0; // Counter for blocks while (nstack.is_nonempty()) { // node and in's index from stack's top
src/share/vm/opto/block.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File