hotspot/src/share/vm/opto/block.cpp
changeset 32202 7e7ad8b06f5b
parent 24923 9631f7d691dc
child 33065 55892792936f
--- a/hotspot/src/share/vm/opto/block.cpp	Thu Aug 06 13:00:44 2015 -0700
+++ b/hotspot/src/share/vm/opto/block.cpp	Mon Aug 10 10:39:19 2015 -0700
@@ -393,7 +393,7 @@
   VectorSet visited(a);
 
   // Allocate stack with enough space to avoid frequent realloc
-  Node_Stack nstack(a, C->unique() >> 1);
+  Node_Stack nstack(a, C->live_nodes() >> 1);
   nstack.push(_root, 0);
   uint sum = 0;                 // Counter for blocks