Mercurial > hg > truffle
changeset 20507:43ce58b4717b
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
author | fzhinkin |
---|---|
date | Thu, 02 Oct 2014 11:31:31 -0700 |
parents | 2d6a3328ec99 |
children | f6bde7889409 dc8637067fc1 7dcde22f261f |
files | src/share/vm/runtime/deoptimization.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.hpp Tue Sep 30 08:29:26 2014 +0000 +++ b/src/share/vm/runtime/deoptimization.hpp Thu Oct 02 11:31:31 2014 -0700 @@ -60,8 +60,8 @@ 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_rtm_state_change, // rtm state change detected Reason_unstable_if, // a branch predicted always false was taken - Reason_rtm_state_change, // rtm state change detected Reason_LIMIT, // Note: Keep this enum in sync. with _trap_reason_name. Reason_RECORDED_LIMIT = Reason_bimorphic // some are not recorded per bc