RFR: 8359359: AArch64: share trampolines between static calls to the same method [v7]

Mikhail Ablakatov mablakatov at openjdk.org
Thu Nov 6 17:59:45 UTC 2025


On Thu, 30 Oct 2025 17:38:19 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> Would it be correct to use `op->method()->can_be_statically_bound()` instead, similarly to how it's done for static call stubs in https://github.com/openjdk/jdk/blob/ed36b9bb6f3d429db6accfb3b096e50e7f2217ff/src/hotspot/share/c1/c1_LIRAssembler.cpp#L456?
>
> `can_be_statically_bound()` should definitely work.

Fixed, please see https://github.com/openjdk/jdk/pull/25954/commits/ba317d4ca96af87fbc53155d1fcc33d88a6c2349

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25954#discussion_r2500161764


More information about the hotspot-dev mailing list