< prev index next >

src/hotspot/share/code/compiledMethod.cpp


*** 430,439 **** --- 430,442 ---- } #endif // ASSERT bool CompiledMethod::clean_ic_if_metadata_is_dead(CompiledIC *ic) { + if (ic->is_clean()) { + return true; + } if (ic->is_icholder_call()) { // The only exception is compiledICHolder metdata which may // yet be marked below. (We check this further below). CompiledICHolder* cichk_metdata = ic->cached_icholder(); ***************
*** 457,469 **** ShouldNotReachHere(); } } } - if (ic->is_clean()) { - return true; - } return ic->set_to_clean(); } // static_stub_Relocations may have dangling references to // nmethods so trim them out here. Otherwise it looks like --- 460,469 ----
< prev index next >