mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8139379: Tests fail with assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod
Reviewed-by: mgronlun, neliasso
This commit is contained in:
parent
6294f0770b
commit
14621ff60c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ bool CompiledMethod::is_method_handle_return(address return_pc) {
|
|||
bool CompiledMethod::is_deopt_entry(address pc) {
|
||||
return pc == deopt_handler_begin()
|
||||
#if INCLUDE_JVMCI
|
||||
|| pc == (deopt_handler_begin() + NativeCall::instruction_size)
|
||||
|| (is_compiled_by_jvmci() && pc == (deopt_handler_begin() + NativeCall::instruction_size))
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue