hotspot/src/share/vm/prims/jvmtiEnv.cpp
changeset 7106 867c9d296c6b
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
equal deleted inserted replaced
7103:4a46a9508d91 7106:867c9d296c6b
  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