6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2010-10-19 16:14:34 -07:00
parent 1022ea2299
commit 1d8c677377
11 changed files with 35 additions and 18 deletions

View file

@ -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]);
}
}