6890673: Eliminate allocations immediately after EA

Try to eliminate allocations and related locks immediately after escape analysis.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2011-11-16 09:13:57 -08:00
parent 81c085a1e2
commit 8d2ee23293
11 changed files with 148 additions and 71 deletions

View file

@ -1946,7 +1946,7 @@ void PhaseIdealLoop::build_and_optimize(bool do_split_ifs, bool skip_loop_opts)
}
// Nothing to do, so get out
if( !C->has_loops() && !do_split_ifs && !_verify_me && !_verify_only ) {
if( !C->has_loops() && !skip_loop_opts && !do_split_ifs && !_verify_me && !_verify_only ) {
_igvn.optimize(); // Cleanup NeverBranches
return;
}