comparison src/share/vm/prims/jvmtiImpl.cpp @ 13188:6b2d8d20ecbd

deoptimization: add helper to minimize hsx diff #resolve GRAAL-531
author Bernhard Urban <bernhard.urban@jku.at>
date Thu, 28 Nov 2013 14:12:31 +0100
parents 096c224171c4
children 52b4284cb496
comparison
equal deleted inserted replaced
13187:b199147f187e 13188:6b2d8d20ecbd
750 // meaning they are not mutable. 750 // meaning they are not mutable.
751 if (can_be_deoptimized(_jvf)) { 751 if (can_be_deoptimized(_jvf)) {
752 752
753 // Schedule deoptimization so that eventually the local 753 // Schedule deoptimization so that eventually the local
754 // update will be written to an interpreter frame. 754 // update will be written to an interpreter frame.
755 Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id(), Deoptimization::Reason_constraint); 755 Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id());
756 756
757 // Now store a new value for the local which will be applied 757 // Now store a new value for the local which will be applied
758 // once deoptimization occurs. Note however that while this 758 // once deoptimization occurs. Note however that while this
759 // write is deferred until deoptimization actually happens 759 // write is deferred until deoptimization actually happens
760 // can vframe created after this point will have its locals 760 // can vframe created after this point will have its locals