diff --git a/src/hotspot/share/code/compiledMethod.cpp b/src/hotspot/share/code/compiledMethod.cpp index ddc1fc9..9aed89f 100644 --- a/src/hotspot/share/code/compiledMethod.cpp +++ b/src/hotspot/share/code/compiledMethod.cpp @@ -459,6 +459,9 @@ bool CompiledMethod::clean_ic_if_metadata_is_dead(CompiledIC *ic) { } } + if (ic->is_clean()) { + return true; + } return ic->set_to_clean(); }