--- a/hotspot/src/share/vm/opto/domgraph.cpp Wed Oct 07 06:56:58 2015 -0400
+++ b/hotspot/src/share/vm/opto/domgraph.cpp Thu Oct 08 12:10:19 2015 +0200
@@ -506,7 +506,7 @@
// Perform DFS search. Setup 'vertex' as DFS to vertex mapping. Setup
// 'semi' as vertex to DFS mapping. Set 'parent' to DFS parent.
int NTarjan::DFS( NTarjan *ntarjan, VectorSet &visited, PhaseIdealLoop *pil, uint *dfsorder) {
- // Allocate stack of size C->unique()/8 to avoid frequent realloc
+ // Allocate stack of size C->live_nodes()/8 to avoid frequent realloc
GrowableArray <Node *> dfstack(pil->C->live_nodes() >> 3);
Node *b = pil->C->root();
int dfsnum = 1;