RFR: 8368525: nmethod ic cleanup [v2]

Hamlin Li mli at openjdk.org
Wed Sep 24 12:38:35 UTC 2025


On Wed, 24 Sep 2025 11:18:41 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> Looks good, thanks for cleaning it up!

Thank you for having a look!

> src/hotspot/share/code/nmethod.cpp line 871:
> 
>> 869:         // If class unloading occurred we first clear ICs where the cached metadata
>> 870:         // is referring to an unloaded klass or method.
>> 871:         CompiledIC_at(&iter)->clean_metadata();;
> 
> Suggestion:
> 
>         CompiledIC_at(&iter)->clean_metadata();

Thanks for catching, fixed.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27464#issuecomment-3328195860
PR Review Comment: https://git.openjdk.org/jdk/pull/27464#discussion_r2375635334


More information about the hotspot-compiler-dev mailing list