--- a/hotspot/src/share/vm/prims/jvmtiImpl.cpp Thu Nov 04 16:17:54 2010 -0700
+++ b/hotspot/src/share/vm/prims/jvmtiImpl.cpp Mon Nov 08 14:33:48 2010 -0800
@@ -728,8 +728,7 @@
// Schedule deoptimization so that eventually the local
// update will be written to an interpreter frame.
- VM_DeoptimizeFrame deopt(_jvf->thread(), _jvf->fr().id());
- VMThread::execute(&deopt);
+ Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id());
// Now store a new value for the local which will be applied
// once deoptimization occurs. Note however that while this