RFR: 8280469: C2: CHA support for interface calls when inlining through method handle linker [v2]
Vladimir Ivanov
vlivanov at openjdk.org
Mon Nov 3 18:38:13 UTC 2025
> Expand the optimization for interface calls introduced by [JDK-6986483](https://bugs.openjdk.org/browse/JDK-6986483) to calls through `MethodHandle.linkToInterface`.
>
> The implementation is straightforward except the fact that symbolic information is lost during `MemberName` resolution. The fix uses declaring class instead, but it's more conservative than what is done for invokeinterface case.
>
> Testing: hs-tier1 - hs-tier5
Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
naming
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28094/files
- new: https://git.openjdk.org/jdk/pull/28094/files/0bf3f2b6..12561a6d
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28094&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28094&range=00-01
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28094.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28094/head:pull/28094
PR: https://git.openjdk.org/jdk/pull/28094
More information about the hotspot-compiler-dev
mailing list