changeset 48007 | ab3959df2115 |
parent 47216 | 71c04702a3d5 |
child 49360 | 886acec3b4c6 |
--- a/src/hotspot/share/runtime/sweeper.cpp Mon Nov 20 17:10:02 2017 -0500 +++ b/src/hotspot/share/runtime/sweeper.cpp Mon Nov 20 19:00:22 2017 -0800 @@ -699,7 +699,7 @@ void NMethodSweeper::possibly_flush(nmethod* nm) { if (UseCodeCacheFlushing) { - if (!nm->is_locked_by_vm() && !nm->is_native_method()) { + if (!nm->is_locked_by_vm() && !nm->is_native_method() && !nm->is_not_installed()) { bool make_not_entrant = false; // Do not make native methods not-entrant