提交 31b4bfb2 编写于 作者: F fzhinkin

8059226: Names of rtm_state_change and unstable_if deoptimization reasons were swapped in 8u40

Summary: fixed order of DeoptReason values declaration so now it matches the order used in jdk9 and the names order in Deoptimization::_trap_reason_name.
Reviewed-by: kvn
上级 ce3f50a6
......@@ -60,8 +60,8 @@ class Deoptimization : AllStatic {
Reason_predicate, // compiler generated predicate failed
Reason_loop_limit_check, // compiler generated loop limits check failed
Reason_speculate_class_check, // saw unexpected object class from type speculation
Reason_unstable_if, // a branch predicted always false was taken
Reason_rtm_state_change, // rtm state change detected
Reason_unstable_if, // a branch predicted always false was taken
Reason_LIMIT,
// Note: Keep this enum in sync. with _trap_reason_name.
Reason_RECORDED_LIMIT = Reason_bimorphic // some are not recorded per bc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册