src/share/vm/prims/jvmtiEnv.cpp

changeset 2260
ce6848d0666d
parent 1907
c18cbe5936b8
child 2314
f95d63e2154a
     1.1 --- a/src/share/vm/prims/jvmtiEnv.cpp	Mon Oct 18 15:43:29 2010 -0700
     1.2 +++ b/src/share/vm/prims/jvmtiEnv.cpp	Tue Oct 19 16:14:34 2010 -0700
     1.3 @@ -1407,8 +1407,7 @@
     1.4      // If any of the top 2 frames is a compiled one, need to deoptimize it
     1.5      for (int i = 0; i < 2; i++) {
     1.6        if (!is_interpreted[i]) {
     1.7 -        VM_DeoptimizeFrame op(java_thread, frame_sp[i]);
     1.8 -        VMThread::execute(&op);
     1.9 +        Deoptimization::deoptimize_frame(java_thread, frame_sp[i]);
    1.10        }
    1.11      }
    1.12  

mercurial