equal
deleted
inserted
replaced
264 // chance of such compilations timing out. |
264 // chance of such compilations timing out. |
265 max_task = max_blocking_task; |
265 max_task = max_blocking_task; |
266 max_method = max_task->method(); |
266 max_method = max_task->method(); |
267 } |
267 } |
268 |
268 |
269 if (max_task->comp_level() == CompLevel_full_profile && TieredStopAtLevel > CompLevel_full_profile |
269 if (max_task != NULL && max_task->comp_level() == CompLevel_full_profile && |
270 && is_method_profiled(max_method)) { |
270 TieredStopAtLevel > CompLevel_full_profile && |
|
271 max_method != NULL && is_method_profiled(max_method)) { |
271 max_task->set_comp_level(CompLevel_limited_profile); |
272 max_task->set_comp_level(CompLevel_limited_profile); |
272 if (PrintTieredEvents) { |
273 if (PrintTieredEvents) { |
273 print_event(UPDATE_IN_QUEUE, max_method, max_method, max_task->osr_bci(), (CompLevel)max_task->comp_level()); |
274 print_event(UPDATE_IN_QUEUE, max_method, max_method, max_task->osr_bci(), (CompLevel)max_task->comp_level()); |
274 } |
275 } |
275 } |
276 } |