RFR: 8373633: C2: Use interface receiver type to improve CHA decisions [v2]
Vladimir Ivanov
vlivanov at openjdk.org
Tue Jan 27 22:18:39 UTC 2026
On Mon, 15 Dec 2025 16:25:00 GMT, Roland Westrelin <roland 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/callGenerator.cpp line 529:
>
>> 527: allow_inline,
>> 528: _prof_factor,
>> 529: nullptr /*receiver_type*/,
>
> Is there no benefit to passing `receiver_type` here?
Good point. After thinking more about it, I see some corner cases when it may be useful. Fixed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28811#discussion_r2733978428
More information about the hotspot-compiler-dev
mailing list