hotspot/src/share/vm/runtime/safepoint.cpp
changeset 7106 867c9d296c6b
parent 6453 970dc585ab63
child 7397 5b173b4ca846
equal deleted inserted replaced
7103:4a46a9508d91 7106:867c9d296c6b
   938 
   938 
   939     // If we have a pending async exception deoptimize the frame
   939     // If we have a pending async exception deoptimize the frame
   940     // as otherwise we may never deliver it.
   940     // as otherwise we may never deliver it.
   941     if (thread()->has_async_condition()) {
   941     if (thread()->has_async_condition()) {
   942       ThreadInVMfromJavaNoAsyncException __tiv(thread());
   942       ThreadInVMfromJavaNoAsyncException __tiv(thread());
   943       VM_DeoptimizeFrame deopt(thread(), caller_fr.id());
   943       Deoptimization::deoptimize_frame(thread(), caller_fr.id());
   944       VMThread::execute(&deopt);
       
   945     }
   944     }
   946 
   945 
   947     // If an exception has been installed we must check for a pending deoptimization
   946     // If an exception has been installed we must check for a pending deoptimization
   948     // Deoptimize frame if exception has been thrown.
   947     // Deoptimize frame if exception has been thrown.
   949 
   948