changeset 56090:0d35df96db33

8223389: Shenandoah optimizations fail with assert(!phase->exceeding_node_budget()) Reviewed-by: thartmann
author roland
date Mon, 06 May 2019 13:51:02 +0200
parents 1dc9bf9d016b
children 26748009f2e5
files src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Tue May 07 09:17:03 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp	Mon May 06 13:51:02 2019 +0200
@@ -1950,6 +1950,9 @@
               head->verify_strip_mined(0);
             }
             move_heap_stable_test_out_of_loop(iff, phase);
+
+            AutoNodeBudget node_budget(phase);
+
             if (loop->policy_unswitching(phase)) {
               if (head->is_strip_mined()) {
                 OuterStripMinedLoopNode* outer = head->as_CountedLoop()->outer_loop();