diff -r 5f3b9b633731 -r 7e268f863ff0 src/hotspot/share/code/nmethod.cpp --- a/src/hotspot/share/code/nmethod.cpp Wed Dec 05 17:33:01 2018 +0000 +++ b/src/hotspot/share/code/nmethod.cpp Wed Dec 05 15:57:26 2018 +0100 @@ -1650,7 +1650,8 @@ } #endif - unload_nmethod_caches(unloading_occurred); + guarantee(unload_nmethod_caches(unloading_occurred), + "Should not need transition stubs"); } }