src/hotspot/share/runtime/deoptimization.cpp
changeset 50577 bf7e2684cd0a
parent 49972 37b2446d7f86
child 50623 5209d8a6303e
equal deleted inserted replaced
50576:374bd919d8fe 50577:bf7e2684cd0a
  2069   return fetch_unroll_info_helper(thread, exec_mode);
  2069   return fetch_unroll_info_helper(thread, exec_mode);
  2070 }
  2070 }
  2071 
  2071 
  2072 // Local derived constants.
  2072 // Local derived constants.
  2073 // Further breakdown of DataLayout::trap_state, as promised by DataLayout.
  2073 // Further breakdown of DataLayout::trap_state, as promised by DataLayout.
  2074 const int DS_REASON_MASK   = DataLayout::trap_mask >> 1;
  2074 const int DS_REASON_MASK   = ((uint)DataLayout::trap_mask) >> 1;
  2075 const int DS_RECOMPILE_BIT = DataLayout::trap_mask - DS_REASON_MASK;
  2075 const int DS_RECOMPILE_BIT = DataLayout::trap_mask - DS_REASON_MASK;
  2076 
  2076 
  2077 //---------------------------trap_state_reason---------------------------------
  2077 //---------------------------trap_state_reason---------------------------------
  2078 Deoptimization::DeoptReason
  2078 Deoptimization::DeoptReason
  2079 Deoptimization::trap_state_reason(int trap_state) {
  2079 Deoptimization::trap_state_reason(int trap_state) {