1625 // Clobber the first compile and force second tier compilation |
1625 // Clobber the first compile and force second tier compilation |
1626 nmethod* nm = m->code(); |
1626 nmethod* nm = m->code(); |
1627 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1627 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1628 // Throw out the code so that the code cache doesn't fill up |
1628 // Throw out the code so that the code cache doesn't fill up |
1629 nm->make_not_entrant(); |
1629 nm->make_not_entrant(); |
1630 m->clear_code(); |
|
1631 } |
1630 } |
1632 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, |
1631 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, |
1633 methodHandle(), 0, "CTW", THREAD); |
1632 methodHandle(), 0, "CTW", THREAD); |
1634 if (HAS_PENDING_EXCEPTION) { |
1633 if (HAS_PENDING_EXCEPTION) { |
1635 clear_pending_exception_if_not_oom(CHECK); |
1634 clear_pending_exception_if_not_oom(CHECK); |