RFR: 8373633: C2: Use interface receiver type to improve CHA decisions [v2]
Vladimir Ivanov
vlivanov at openjdk.org
Tue Jan 27 22:18:42 UTC 2026
On Mon, 22 Dec 2025 16:32:15 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:
>> Vladimir Ivanov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - addtional case
>> - Merge branch 'master' into cha.intf.recv
>> - Use receiver type to improve CHA decisions
>
> src/hotspot/share/opto/doCall.cpp line 340:
>
>> 338: // number of implementors for decl_interface is 0 or 1. If
>> 339: // it's 0 then no class implements decl_interface and there's
>> 340: // no point in inlining.
>
> Does the above comment still hold? Or did you remove it because it is not relevant anymore?
IMO that part of the comment becomes misleading, since the code computes "context interface" now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28811#discussion_r2733981471
More information about the hotspot-compiler-dev
mailing list