We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03f8c0f commit 976c2bbCopy full SHA for 976c2bb
1 file changed
src/hotspot/share/code/compiledMethod.cpp
@@ -478,6 +478,10 @@ bool CompiledMethod::clean_ic_if_metadata_is_dead(CompiledIC *ic) {
478
} else {
479
ShouldNotReachHere();
480
}
481
+ } else {
482
+ // This inline cache is a megamorphic vtable call. Those ICs never hold
483
+ // any Metadata and should therefore never be cleaned by this function.
484
+ return true;
485
486
487
0 commit comments