mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
This commit is contained in:
parent
1022ea2299
commit
1d8c677377
11 changed files with 35 additions and 18 deletions
|
@ -1322,8 +1322,7 @@ JvmtiEnvBase::check_top_frame(JavaThread* current_thread, JavaThread* java_threa
|
|||
if (!vf->fr().can_be_deoptimized()) {
|
||||
return JVMTI_ERROR_OPAQUE_FRAME;
|
||||
}
|
||||
VM_DeoptimizeFrame deopt(java_thread, jvf->fr().id());
|
||||
VMThread::execute(&deopt);
|
||||
Deoptimization::deoptimize_frame(java_thread, jvf->fr().id());
|
||||
}
|
||||
|
||||
// Get information about method return type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue