comparison src/share/vm/prims/jvmtiEnv.cpp @ 1905:ce6848d0666d

6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places Reviewed-by: kvn, twisti
author never
date Tue, 19 Oct 2010 16:14:34 -0700
parents c18cbe5936b8
children f95d63e2154a
comparison
equal deleted inserted replaced
1902:0357ff4bd6b2 1905:ce6848d0666d
1405 } 1405 }
1406 1406
1407 // If any of the top 2 frames is a compiled one, need to deoptimize it 1407 // If any of the top 2 frames is a compiled one, need to deoptimize it
1408 for (int i = 0; i < 2; i++) { 1408 for (int i = 0; i < 2; i++) {
1409 if (!is_interpreted[i]) { 1409 if (!is_interpreted[i]) {
1410 VM_DeoptimizeFrame op(java_thread, frame_sp[i]); 1410 Deoptimization::deoptimize_frame(java_thread, frame_sp[i]);
1411 VMThread::execute(&op);
1412 } 1411 }
1413 } 1412 }
1414 1413
1415 // Update the thread state to reflect that the top frame is popped 1414 // Update the thread state to reflect that the top frame is popped
1416 // so that cur_stack_depth is maintained properly and all frameIDs 1415 // so that cur_stack_depth is maintained properly and all frameIDs