comparison src/share/vm/runtime/safepoint.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 0382d2b469b2
children 957c266d8bc5
comparison
equal deleted inserted replaced
5109:6766253384bf 5110:0ebca2e35ca5
1058 1058
1059 // If we have a pending async exception deoptimize the frame 1059 // If we have a pending async exception deoptimize the frame
1060 // as otherwise we may never deliver it. 1060 // as otherwise we may never deliver it.
1061 if (thread()->has_async_condition()) { 1061 if (thread()->has_async_condition()) {
1062 ThreadInVMfromJavaNoAsyncException __tiv(thread()); 1062 ThreadInVMfromJavaNoAsyncException __tiv(thread());
1063 Deoptimization::deoptimize_frame(thread(), caller_fr.id()); 1063 Deoptimization::deoptimize_frame(thread(), caller_fr.id(), Deoptimization::Reason_constraint);
1064 } 1064 }
1065 1065
1066 // If an exception has been installed we must check for a pending deoptimization 1066 // If an exception has been installed we must check for a pending deoptimization
1067 // Deoptimize frame if exception has been thrown. 1067 // Deoptimize frame if exception has been thrown.
1068 1068