--- old/src/share/vm/runtime/deoptimization.hpp 2015-03-12 18:25:58.229202178 +0100 +++ new/src/share/vm/runtime/deoptimization.hpp 2015-03-12 18:25:57.963209524 +0100 @@ -63,6 +63,7 @@ Reason_speculate_null_check, // saw unexpected null from type speculation Reason_rtm_state_change, // rtm state change detected Reason_unstable_if, // a branch predicted always false was taken + Reason_unstable_fused_if, // fused two ifs that had each one untaken branch. One is now taken. // Reason_tenured is counted separately, add normal counted Reasons above. // Related to MethodData::_trap_hist_limit where Reason_tenured isn't included @@ -326,6 +327,8 @@ return Reason_null_check; else if (reason == Reason_unstable_if) return Reason_intrinsic; + else if (reason == Reason_unstable_fused_if) + return Reason_range_check; else return Reason_none; }