comparison src/share/vm/prims/jvmtiEnv.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 d8041d695d19
comparison
equal deleted inserted replaced
13187:b199147f187e 13188:6b2d8d20ecbd
1440 } 1440 }
1441 1441
1442 // If any of the top 2 frames is a compiled one, need to deoptimize it 1442 // If any of the top 2 frames is a compiled one, need to deoptimize it
1443 for (int i = 0; i < 2; i++) { 1443 for (int i = 0; i < 2; i++) {
1444 if (!is_interpreted[i]) { 1444 if (!is_interpreted[i]) {
1445 Deoptimization::deoptimize_frame(java_thread, frame_sp[i], Deoptimization::Reason_constraint); 1445 Deoptimization::deoptimize_frame(java_thread, frame_sp[i]);
1446 } 1446 }
1447 } 1447 }
1448 1448
1449 // Update the thread state to reflect that the top frame is popped 1449 // Update the thread state to reflect that the top frame is popped
1450 // so that cur_stack_depth is maintained properly and all frameIDs 1450 // so that cur_stack_depth is maintained properly and all frameIDs