Skip to content
Permalink
Browse files
8223389: Shenandoah optimizations fail with assert(!phase->exceeding_…
…node_budget())

Backport-of: 8b07b19
  • Loading branch information
TheRealMDoerr committed Mar 14, 2022
1 parent f3708bb commit f441970b6216506eb8183a364162b07efb7e3dc3
Showing 1 changed file with 3 additions and 0 deletions.
@@ -2038,6 +2038,9 @@ void ShenandoahBarrierC2Support::optimize_after_expansion(VectorSet &visited, No
head->as_Loop()->verify_strip_mined(0);
}
move_gc_state_test_out_of_loop(iff, phase);

AutoNodeBudget node_budget(phase);

if (loop->policy_unswitching(phase)) {
if (head->as_Loop()->is_strip_mined()) {
OuterStripMinedLoopNode* outer = head->as_CountedLoop()->outer_loop();

1 comment on commit f441970

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on f441970 Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.