8221542: ~15% performance degradation due to less optimized inline decision

Reviewed-by: vlivanov, coleenp
This commit is contained in:
Jie Fu 2019-05-06 12:17:54 -07:00
parent 2e0c5db11d
commit 0ff8db34ca
6 changed files with 72 additions and 6 deletions

View file

@ -674,8 +674,7 @@ JRT_LEAF(BasicType, Deoptimization::unpack_frames(JavaThread* thread, int exec_m
int top_frame_expression_stack_adjustment = 0;
methodHandle mh(thread, iframe->interpreter_frame_method());
OopMapCache::compute_one_oop_map(mh, iframe->interpreter_frame_bci(), &mask);
BytecodeStream str(mh);
str.set_start(iframe->interpreter_frame_bci());
BytecodeStream str(mh, iframe->interpreter_frame_bci());
int max_bci = mh->code_size();
// Get to the next bytecode if possible
assert(str.bci() < max_bci, "bci in interpreter frame out of bounds");