--- a/hotspot/src/share/vm/opto/graphKit.cpp Sun Apr 03 21:44:54 2016 -0700
+++ b/hotspot/src/share/vm/opto/graphKit.cpp Mon Apr 04 12:52:11 2016 +0200
@@ -3773,9 +3773,7 @@
add_predicate_impl(Deoptimization::Reason_predicate, nargs);
}
// loop's limit check predicate should be near the loop.
- if (LoopLimitCheck) {
- add_predicate_impl(Deoptimization::Reason_loop_limit_check, nargs);
- }
+ add_predicate_impl(Deoptimization::Reason_loop_limit_check, nargs);
}
//----------------------------- store barriers ----------------------------