mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7097679: Tiered: events with bad bci to Gotos reduced from Ifs
Save bci of instruction that produced Goto and use it to call back to runtime Reviewed-by: kvn, never
This commit is contained in:
parent
7f01a4d4f5
commit
a4975758bb
2 changed files with 6 additions and 6 deletions
|
@ -2493,7 +2493,7 @@ void LIRGenerator::do_Goto(Goto* x) {
|
|||
|
||||
// increment backedge counter if needed
|
||||
CodeEmitInfo* info = state_for(x, state);
|
||||
increment_backedge_counter(info, info->stack()->bci());
|
||||
increment_backedge_counter(info, x->profiled_bci());
|
||||
CodeEmitInfo* safepoint_info = state_for(x, state);
|
||||
__ safepoint(safepoint_poll_register(), safepoint_info);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue