--- old/src/hotspot/share/opto/graphKit.cpp 2018-05-16 09:39:50.712336969 +0200 +++ new/src/hotspot/share/opto/graphKit.cpp 2018-05-16 09:39:44.626354632 +0200 @@ -3813,6 +3813,9 @@ if (UseLoopPredicate) { add_predicate_impl(Deoptimization::Reason_predicate, nargs); } + if (UseProfiledLoopPredicate) { + add_predicate_impl(Deoptimization::Reason_profile_predicate, nargs); + } // loop's limit check predicate should be near the loop. add_predicate_impl(Deoptimization::Reason_loop_limit_check, nargs); }