diff src/share/vm/prims/jvmtiImpl.cpp @ 1905:ce6848d0666d

6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places Reviewed-by: kvn, twisti
author never
date Tue, 19 Oct 2010 16:14:34 -0700
parents c18cbe5936b8
children 5caa30ea147b
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiImpl.cpp	Mon Oct 18 15:43:29 2010 -0700
+++ b/src/share/vm/prims/jvmtiImpl.cpp	Tue Oct 19 16:14:34 2010 -0700
@@ -799,8 +799,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