mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8221542: ~15% performance degradation due to less optimized inline decision
Reviewed-by: vlivanov, coleenp
This commit is contained in:
parent
2e0c5db11d
commit
0ff8db34ca
6 changed files with 72 additions and 6 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue