comparison src/share/vm/prims/jvmtiEnvBase.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 f95d63e2154a
comparison
equal deleted inserted replaced
1902:0357ff4bd6b2 1905:ce6848d0666d
1320 // If the frame is a compiled one, need to deoptimize it. 1320 // If the frame is a compiled one, need to deoptimize it.
1321 if (vf->is_compiled_frame()) { 1321 if (vf->is_compiled_frame()) {
1322 if (!vf->fr().can_be_deoptimized()) { 1322 if (!vf->fr().can_be_deoptimized()) {
1323 return JVMTI_ERROR_OPAQUE_FRAME; 1323 return JVMTI_ERROR_OPAQUE_FRAME;
1324 } 1324 }
1325 VM_DeoptimizeFrame deopt(java_thread, jvf->fr().id()); 1325 Deoptimization::deoptimize_frame(java_thread, jvf->fr().id());
1326 VMThread::execute(&deopt);
1327 } 1326 }
1328 1327
1329 // Get information about method return type 1328 // Get information about method return type
1330 symbolHandle signature(current_thread, jvf->method()->signature()); 1329 symbolHandle signature(current_thread, jvf->method()->signature());
1331 1330