diff --git a/src/hotspot/share/code/compiledMethod.cpp b/src/hotspot/share/code/compiledMethod.cpp index 2932e4a..1dae0de 100644 --- a/src/hotspot/share/code/compiledMethod.cpp +++ b/src/hotspot/share/code/compiledMethod.cpp @@ -556,6 +556,7 @@ bool CompiledMethod::unload_nmethod_caches(bool unloading_occurred) { void CompiledMethod::cleanup_inline_caches(bool clean_all) { for (;;) { + DEBUG_ONLY(ICRefillVerifier ic_refill_verifier;) { CompiledICLocker ic_locker(this); if (cleanup_inline_caches_impl(false, clean_all)) { return;