equal
deleted
inserted
replaced
697 } |
697 } |
698 |
698 |
699 |
699 |
700 void NMethodSweeper::possibly_flush(nmethod* nm) { |
700 void NMethodSweeper::possibly_flush(nmethod* nm) { |
701 if (UseCodeCacheFlushing) { |
701 if (UseCodeCacheFlushing) { |
702 if (!nm->is_locked_by_vm() && !nm->is_native_method()) { |
702 if (!nm->is_locked_by_vm() && !nm->is_native_method() && !nm->is_not_installed()) { |
703 bool make_not_entrant = false; |
703 bool make_not_entrant = false; |
704 |
704 |
705 // Do not make native methods not-entrant |
705 // Do not make native methods not-entrant |
706 nm->dec_hotness_counter(); |
706 nm->dec_hotness_counter(); |
707 // Get the initial value of the hotness counter. This value depends on the |
707 // Get the initial value of the hotness counter. This value depends on the |