Skip to content
Browse files
8277212: GC accidentally cleans valid megamorphic vtable inline caches
Backport-of: 976c2bb05611cdc7b11b0918aaf50ff693507aae
  • Loading branch information
stefank committed Nov 23, 2021
1 parent c47e233 commit ed45df2ea7e33f943b8efb2c581c581686c06e88
Showing 1 changed file with 4 additions and 0 deletions.
@@ -478,6 +478,10 @@ bool CompiledMethod::clean_ic_if_metadata_is_dead(CompiledIC *ic) {
} else {
} else {
// This inline cache is a megamorphic vtable call. Those ICs never hold
// any Metadata and should therefore never be cleaned by this function.
return true;

1 comment on commit ed45df2

Copy link

@openjdk-notifier openjdk-notifier bot commented on ed45df2 Nov 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.