8204240: Extend MDO to allow more reasons to be recorded per bci

Reviewed-by: kvn, neliasso
This commit is contained in:
Roland Westrelin 2018-06-11 15:28:24 +02:00
parent 65a85be9c7
commit 724e41cbb6
11 changed files with 80 additions and 71 deletions

View file

@ -2071,7 +2071,7 @@ Deoptimization::UnrollBlock* Deoptimization::uncommon_trap(JavaThread* thread, j
// Local derived constants.
// Further breakdown of DataLayout::trap_state, as promised by DataLayout.
const int DS_REASON_MASK = DataLayout::trap_mask >> 1;
const int DS_REASON_MASK = ((uint)DataLayout::trap_mask) >> 1;
const int DS_RECOMPILE_BIT = DataLayout::trap_mask - DS_REASON_MASK;
//---------------------------trap_state_reason---------------------------------