diff 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
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiImpl.cpp	Tue Mar 13 18:53:33 2012 -0700
+++ b/src/share/vm/prims/jvmtiImpl.cpp	Thu Mar 15 15:31:34 2012 -0700
@@ -767,7 +767,7 @@
 
       // Schedule deoptimization so that eventually the local
       // update will be written to an interpreter frame.
-      Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id());
+      Deoptimization::deoptimize_frame(_jvf->thread(), _jvf->fr().id(), Deoptimization::Reason_constraint);
 
       // Now store a new value for the local which will be applied
       // once deoptimization occurs. Note however that while this