hotspot/src/share/vm/runtime/safepoint.cpp
changeset 7106 867c9d296c6b
parent 6453 970dc585ab63
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/runtime/safepoint.cpp	Mon Oct 18 15:43:29 2010 -0700
+++ b/hotspot/src/share/vm/runtime/safepoint.cpp	Tue Oct 19 16:14:34 2010 -0700
@@ -940,8 +940,7 @@
     // as otherwise we may never deliver it.
     if (thread()->has_async_condition()) {
       ThreadInVMfromJavaNoAsyncException __tiv(thread());
-      VM_DeoptimizeFrame deopt(thread(), caller_fr.id());
-      VMThread::execute(&deopt);
+      Deoptimization::deoptimize_frame(thread(), caller_fr.id());
     }
 
     // If an exception has been installed we must check for a pending deoptimization