mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens Reviewed-by: kvn, never, jrose, twisti
This commit is contained in:
parent
f2ea22a547
commit
ae00753bf7
29 changed files with 465 additions and 241 deletions
|
@ -379,7 +379,8 @@ void LIR_Assembler::record_non_safepoint_debug_info() {
|
|||
ValueStack* s = nth_oldest(vstack, n, s_bci);
|
||||
if (s == NULL) break;
|
||||
IRScope* scope = s->scope();
|
||||
debug_info->describe_scope(pc_offset, scope->method(), s_bci);
|
||||
//Always pass false for reexecute since these ScopeDescs are never used for deopt
|
||||
debug_info->describe_scope(pc_offset, scope->method(), s_bci, false/*reexecute*/);
|
||||
}
|
||||
|
||||
debug_info->end_non_safepoint(pc_offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue