src/share/vm/opto/compile.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/compile.cpp	Tue Nov 24 15:25:44 2015
--- new/src/share/vm/opto/compile.cpp	Tue Nov 24 15:25:44 2015

*** 2154,2163 **** --- 2154,2177 ---- // No more new expensive nodes will be added to the list from here // so keep only the actual candidates for optimizations. cleanup_expensive_nodes(igvn); + if (!failing() && + RenumberLiveNodes && + live_nodes() + NodeLimitFudgeFactor < unique() + ) { + for_igvn()->clear(); + initial_gvn()->replace_with(&igvn); + { + ResourceMark rm; + PhaseRenumberLive prl = PhaseRenumberLive(initial_gvn(), for_igvn()); + } + igvn = PhaseIterGVN(initial_gvn()); + igvn.optimize(); + } + // Perform escape analysis if (_do_escape_analysis && ConnectionGraph::has_candidates(this)) { if (has_loops()) { // Cleanup graph (remove dead nodes). TracePhase tp("idealLoop", &timers[_t_idealLoop]);

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