diff --git a/src/hotspot/share/code/nmethod.cpp b/src/hotspot/share/code/nmethod.cpp index 2719946..8636857 100644 --- a/src/hotspot/share/code/nmethod.cpp +++ b/src/hotspot/share/code/nmethod.cpp @@ -1624,7 +1624,8 @@ void nmethod::do_unloading(bool unloading_occurred) { } #endif - unload_nmethod_caches(unloading_occurred); + guarantee(unload_nmethod_caches(unloading_occurred), + "Should not need tranisition stubs"); } }