equal
deleted
inserted
replaced
1649 } else { |
1649 } else { |
1650 _compile_the_world_method_counter++; |
1650 _compile_the_world_method_counter++; |
1651 } |
1651 } |
1652 if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) { |
1652 if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) { |
1653 // Clobber the first compile and force second tier compilation |
1653 // Clobber the first compile and force second tier compilation |
1654 nmethod* nm = m->code(); |
1654 CompiledMethod* nm = m->code(); |
1655 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1655 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1656 // Throw out the code so that the code cache doesn't fill up |
1656 // Throw out the code so that the code cache doesn't fill up |
1657 nm->make_not_entrant(); |
1657 nm->make_not_entrant(); |
1658 m->clear_code(); |
1658 m->clear_code(); |
1659 } |
1659 } |
1668 } |
1668 } |
1669 } else { |
1669 } else { |
1670 tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string()); |
1670 tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string()); |
1671 } |
1671 } |
1672 |
1672 |
1673 nmethod* nm = m->code(); |
1673 CompiledMethod* nm = m->code(); |
1674 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1674 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1675 // Throw out the code so that the code cache doesn't fill up |
1675 // Throw out the code so that the code cache doesn't fill up |
1676 nm->make_not_entrant(); |
1676 nm->make_not_entrant(); |
1677 m->clear_code(); |
1677 m->clear_code(); |
1678 } |
1678 } |