Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiEnv.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 | 4ceaf61479fc |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
5109:6766253384bf | 5110:0ebca2e35ca5 |
---|---|
1455 } | 1455 } |
1456 | 1456 |
1457 // If any of the top 2 frames is a compiled one, need to deoptimize it | 1457 // If any of the top 2 frames is a compiled one, need to deoptimize it |
1458 for (int i = 0; i < 2; i++) { | 1458 for (int i = 0; i < 2; i++) { |
1459 if (!is_interpreted[i]) { | 1459 if (!is_interpreted[i]) { |
1460 Deoptimization::deoptimize_frame(java_thread, frame_sp[i]); | 1460 Deoptimization::deoptimize_frame(java_thread, frame_sp[i], Deoptimization::Reason_constraint); |
1461 } | 1461 } |
1462 } | 1462 } |
1463 | 1463 |
1464 // Update the thread state to reflect that the top frame is popped | 1464 // Update the thread state to reflect that the top frame is popped |
1465 // so that cur_stack_depth is maintained properly and all frameIDs | 1465 // so that cur_stack_depth is maintained properly and all frameIDs |