comparison src/share/vm/prims/jvmtiImpl.cpp @ 5110:0ebca2e35ca5

more preparations for disabling runtime feedback selectively based on deoptimization history
author Christian Haeubl <christian.haeubl@oracle.com>
date Thu, 15 Mar 2012 15:31:34 -0700
parents f08d439fab8c
children 957c266d8bc5
comparison
equal deleted inserted replaced
5109:6766253384bf 5110:0ebca2e35ca5
765 // meaning they are not mutable. 765 // meaning they are not mutable.
766 if (can_be_deoptimized(_jvf)) { 766 if (can_be_deoptimized(_jvf)) {
767 767
768 // Schedule deoptimization so that eventually the local 768 // Schedule deoptimization so that eventually the local
769 // update will be written to an interpreter frame. 769 // update will be written to an interpreter frame.
770 Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id()); 770 Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id(), Deoptimization::Reason_constraint);
771 771
772 // Now store a new value for the local which will be applied 772 // Now store a new value for the local which will be applied
773 // once deoptimization occurs. Note however that while this 773 // once deoptimization occurs. Note however that while this
774 // write is deferred until deoptimization actually happens 774 // write is deferred until deoptimization actually happens
775 // can vframe created after this point will have its locals 775 // can vframe created after this point will have its locals