--- 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