mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely
Reviewed-by: kvn
This commit is contained in:
parent
dd85e2f356
commit
301e9f9548
7 changed files with 35 additions and 28 deletions
|
@ -844,6 +844,14 @@ nmethod* InterpreterRuntime::frequency_counter_overflow(JavaThread* thread, addr
|
|||
int bci = method->bci_from(fr.interpreter_frame_bcp());
|
||||
nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false);
|
||||
}
|
||||
#ifndef PRODUCT
|
||||
if (TraceOnStackReplacement) {
|
||||
if (nm != NULL) {
|
||||
tty->print("OSR entry @ pc: " INTPTR_FORMAT ": ", nm->osr_entry());
|
||||
nm->print();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return nm;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue