mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8189649: AOT: assert(caller_frame.cb()->as_nmethod_or_null() == cm) failed: expect top frame nmethod
Reviewed-by: kvn
This commit is contained in:
parent
f7bcc70f27
commit
ef5b012bf4
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ address Deoptimization::deoptimize_for_missing_exception_handler(CompiledMethod*
|
|||
RegisterMap reg_map(thread, UseBiasedLocking);
|
||||
frame runtime_frame = thread->last_frame();
|
||||
frame caller_frame = runtime_frame.sender(®_map);
|
||||
assert(caller_frame.cb()->as_nmethod_or_null() == cm, "expect top frame nmethod");
|
||||
assert(caller_frame.cb()->as_compiled_method_or_null() == cm, "expect top frame compiled method");
|
||||
Deoptimization::deoptimize(thread, caller_frame, ®_map, Deoptimization::Reason_not_compiled_exception_handler);
|
||||
|
||||
MethodData* trap_mdo = get_method_data(thread, cm->method(), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue