6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2010-10-19 16:14:34 -07:00
parent 1022ea2299
commit 1d8c677377
11 changed files with 35 additions and 18 deletions

View file

@ -799,8 +799,7 @@ void VM_GetOrSetLocal::doit() {
// 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