diff --git a/src/hotspot/share/code/nmethod.cpp b/src/hotspot/share/code/nmethod.cpp index 3c7124b..91c2ab8 100644 --- a/src/hotspot/share/code/nmethod.cpp +++ b/src/hotspot/share/code/nmethod.cpp @@ -1370,6 +1370,8 @@ void nmethod::flush() { clear_speculation_log(); #endif + Universe::heap()->flush_nmethod(this); + CodeBlob::flush(); CodeCache::free(this); }