mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +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
|
@ -1407,8 +1407,7 @@ JvmtiEnv::PopFrame(JavaThread* java_thread) {
|
|||
// If any of the top 2 frames is a compiled one, need to deoptimize it
|
||||
for (int i = 0; i < 2; i++) {
|
||||
if (!is_interpreted[i]) {
|
||||
VM_DeoptimizeFrame op(java_thread, frame_sp[i]);
|
||||
VMThread::execute(&op);
|
||||
Deoptimization::deoptimize_frame(java_thread, frame_sp[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue