diff -r dfdc025ad9ea -r 8b8935b5cfd4 src/hotspot/share/aot/aotCompiledMethod.cpp --- a/src/hotspot/share/aot/aotCompiledMethod.cpp Thu Dec 06 10:46:10 2018 -0500 +++ b/src/hotspot/share/aot/aotCompiledMethod.cpp Thu Dec 06 18:11:53 2018 +0100 @@ -155,6 +155,10 @@ ShouldNotReachHere(); return NULL; } +void AOTCompiledMethod::do_unloading(bool unloading_occurred) { + unload_nmethod_caches(unloading_occurred); +} + bool AOTCompiledMethod::make_not_entrant_helper(int new_state) { // Make sure the method is not flushed in case of a safepoint in code below. methodHandle the_method(method());