equal
deleted
inserted
replaced
351 |
351 |
352 if (max_task != NULL && max_task->comp_level() == CompLevel_full_profile && |
352 if (max_task != NULL && max_task->comp_level() == CompLevel_full_profile && |
353 TieredStopAtLevel > CompLevel_full_profile && |
353 TieredStopAtLevel > CompLevel_full_profile && |
354 max_method != NULL && is_method_profiled(max_method)) { |
354 max_method != NULL && is_method_profiled(max_method)) { |
355 max_task->set_comp_level(CompLevel_limited_profile); |
355 max_task->set_comp_level(CompLevel_limited_profile); |
|
356 |
|
357 if (CompileBroker::compilation_is_complete(max_method, max_task->osr_bci(), CompLevel_limited_profile)) { |
|
358 if (PrintTieredEvents) { |
|
359 print_event(REMOVE_FROM_QUEUE, max_method, max_method, max_task->osr_bci(), (CompLevel)max_task->comp_level()); |
|
360 } |
|
361 compile_queue->remove_and_mark_stale(max_task); |
|
362 max_method->clear_queued_for_compilation(); |
|
363 return NULL; |
|
364 } |
|
365 |
356 if (PrintTieredEvents) { |
366 if (PrintTieredEvents) { |
357 print_event(UPDATE_IN_QUEUE, max_method, max_method, max_task->osr_bci(), (CompLevel)max_task->comp_level()); |
367 print_event(UPDATE_IN_QUEUE, max_method, max_method, max_task->osr_bci(), (CompLevel)max_task->comp_level()); |
358 } |
368 } |
359 } |
369 } |
360 |
370 |