RFR: 8359359: AArch64: share trampolines between static calls to the same method [v6]
Mikhail Ablakatov
mablakatov at openjdk.org
Thu Nov 6 17:59:46 UTC 2025
On Thu, 30 Oct 2025 15:38:54 GMT, Mikhail Ablakatov <mablakatov at openjdk.org> wrote:
>> Are you sure this is OK in LIR_Assembler::call()? Calls of type lir_dynamic_call use relocInfo::static_call_type, but can't they resolve to different targets depending on the call site info? I don't think op->method() is unique for invokedynamic calls. @iwanowww what do you think?
>
> Perhaps we should check if the callee method can be statically bound here using `op->method()->can_be_statically_bound()`?
> Are you sure this is OK in LIR_Assembler::call()?
Fixed, please see https://github.com/openjdk/jdk/pull/25954/commits/ba317d4ca96af87fbc53155d1fcc33d88a6c2349
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25954#discussion_r2500165019
More information about the hotspot-dev
mailing list