RFR: 8359359: AArch64: share trampolines between static calls to the same method [v6]
Evgeny Astigeevich
eastigeevich at openjdk.org
Sun Oct 19 08:53:02 UTC 2025
On Thu, 16 Oct 2025 23:22:22 GMT, Dean Long <dlong at openjdk.org> wrote:
>> @eastig , I'm a bit stuck on [`gen_continuation_enter()`](https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp#L1059). I can't figure out what the target of this static call is. Are you familiar with this portion of the codebase by any chance?
>
> The target is Continuation::enter(), thanks to LinkResolver::resolve_continuation_enter().
Thank you @dean-long
@mikabl-arm , it looks like we should allow `nullptr` for `callee` at the time of trampoline requested. We don't have `ciMethod`. Getting some kind of it might involve linking. In case of `gen_continuation_enter()` we don't save much vs adding complexity to Hotspot.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25954#discussion_r2443033080
More information about the hotspot-dev
mailing list