equal
deleted
inserted
replaced
2448 OopMap* first_oop_map = compute_oop_map(iw, op, first_info, visitor.has_call()); |
2448 OopMap* first_oop_map = compute_oop_map(iw, op, first_info, visitor.has_call()); |
2449 |
2449 |
2450 for (int i = 0; i < visitor.info_count(); i++) { |
2450 for (int i = 0; i < visitor.info_count(); i++) { |
2451 CodeEmitInfo* info = visitor.info_at(i); |
2451 CodeEmitInfo* info = visitor.info_at(i); |
2452 OopMap* oop_map = first_oop_map; |
2452 OopMap* oop_map = first_oop_map; |
|
2453 |
|
2454 // compute worst case interpreter size in case of a deoptimization |
|
2455 _compilation->update_interpreter_frame_size(info->interpreter_frame_size()); |
2453 |
2456 |
2454 if (info->stack()->locks_size() != first_info->stack()->locks_size()) { |
2457 if (info->stack()->locks_size() != first_info->stack()->locks_size()) { |
2455 // this info has a different number of locks then the precomputed oop map |
2458 // this info has a different number of locks then the precomputed oop map |
2456 // (possible for lock and unlock instructions) -> compute oop map with |
2459 // (possible for lock and unlock instructions) -> compute oop map with |
2457 // correct lock information |
2460 // correct lock information |