hotspot/src/share/vm/opto/loopnode.cpp
changeset 38049 e8541793960f
parent 37296 613278eb2a1e
child 39429 2c9cde29cd3f
--- a/hotspot/src/share/vm/opto/loopnode.cpp	Mon Apr 18 20:57:16 2016 +0000
+++ b/hotspot/src/share/vm/opto/loopnode.cpp	Mon Apr 18 15:18:14 2016 -0700
@@ -2369,11 +2369,13 @@
                   if (multi_version_post_loops(lpt, lpt_next) == false) {
                     // Cause the rce loop to be optimized away if we fail
                     cl->mark_is_multiversioned();
+                    cl->set_slp_max_unroll(0);
                     poison_rce_post_loop(lpt);
                   }
                 }
               }
             }
+            sw.transform_loop(lpt, true);
           }
         } else if (cl->is_main_loop()) {
           sw.transform_loop(lpt, true);