Mercurial > hg > truffle
comparison src/share/vm/opto/loopnode.cpp @ 4115:1bd45abaa507
6890673: Eliminate allocations immediately after EA
Summary: Try to eliminate allocations and related locks immediately after escape analysis.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 16 Nov 2011 09:13:57 -0800 |
parents | e8fdaf4a66cb |
children | c8d8e124380c |
comparison
equal
deleted
inserted
replaced
4114:6729bbc1fcd6 | 4115:1bd45abaa507 |
---|---|
1944 } | 1944 } |
1945 return; | 1945 return; |
1946 } | 1946 } |
1947 | 1947 |
1948 // Nothing to do, so get out | 1948 // Nothing to do, so get out |
1949 if( !C->has_loops() && !do_split_ifs && !_verify_me && !_verify_only ) { | 1949 if( !C->has_loops() && !skip_loop_opts && !do_split_ifs && !_verify_me && !_verify_only ) { |
1950 _igvn.optimize(); // Cleanup NeverBranches | 1950 _igvn.optimize(); // Cleanup NeverBranches |
1951 return; | 1951 return; |
1952 } | 1952 } |
1953 | 1953 |
1954 // Set loop nesting depth | 1954 // Set loop nesting depth |