mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8270886: Crash in PhaseIdealLoop::verify_strip_mined_scheduling
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
a0504cff9f
commit
6afcf5f5a2
2 changed files with 171 additions and 4 deletions
|
@ -2111,10 +2111,6 @@ void Compile::Optimize() {
|
|||
if (failing()) return;
|
||||
}
|
||||
|
||||
// Now that all inlining is over, cut edge from root to loop
|
||||
// safepoints
|
||||
remove_root_to_sfpts_edges(igvn);
|
||||
|
||||
// Remove the speculative part of types and clean up the graph from
|
||||
// the extra CastPP nodes whose only purpose is to carry them. Do
|
||||
// that early so that optimizations are not disrupted by the extra
|
||||
|
@ -2151,6 +2147,10 @@ void Compile::Optimize() {
|
|||
set_for_igvn(save_for_igvn);
|
||||
}
|
||||
|
||||
// Now that all inlining is over and no PhaseRemoveUseless will run, cut edge from root to loop
|
||||
// safepoints
|
||||
remove_root_to_sfpts_edges(igvn);
|
||||
|
||||
// Perform escape analysis
|
||||
if (_do_escape_analysis && ConnectionGraph::has_candidates(this)) {
|
||||
if (has_loops()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue