--- old/src/share/vm/opto/block.cpp 2015-09-15 15:43:35.046997301 +0200 +++ new/src/share/vm/opto/block.cpp 2015-09-15 15:43:34.894997293 +0200 @@ -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