RFR: 8294609: C2: Improve inlining of methods with unloaded signature classes [v3]

Vladimir Ivanov vlivanov at openjdk.org
Fri Sep 30 17:00:17 UTC 2022


On Fri, 30 Sep 2022 01:18:10 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   cleanup
>
> src/hotspot/share/ci/ciMethod.cpp line 1168:
> 
>> 1166:   // it makes signature classes visible through loader constraints.
>> 1167:   // So, encountering an unloaded class signals it is absent both in
>> 1168:   // the callee (local) and caller contexts.
> 
> Suggestion:
> 
>   // the callee (local) and caller contexts, because linking loads signature classes.

Can you elaborate, please? Neither method resolution nor method selection steps trigger loading of signature classes.

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

PR: https://git.openjdk.org/jdk/pull/10496


More information about the hotspot-compiler-dev mailing list