src/share/vm/opto/domgraph.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/domgraph.cpp	Tue Sep 15 15:43:35 2015
--- new/src/share/vm/opto/domgraph.cpp	Tue Sep 15 15:43:34 2015

*** 503,514 **** --- 503,514 ---- } // 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 ! GrowableArray <Node *> dfstack(pil->C->unique() >> 3); ! // 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; dfsorder[b->_idx] = dfsnum; // Cache parent's dfsnum for a later use dfstack.push(b);

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