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

Mikhail Ablakatov mablakatov at openjdk.org
Tue Aug 12 14:15:15 UTC 2025


On Thu, 7 Aug 2025 15:52:42 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

> There should not be any duplication. Why do you think so?

`StubRoutines::aarch64::large_arrays_hashcode` is both a key and a part of the value in the example above.

> I dont understand what you mean "the current approach". Do you mean using Pair and checking relocInfo::relocType?

Mostly the latter. I agree that the implementation would benefit from using something more explicit instead of `Pair<>`.

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

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


More information about the hotspot-dev mailing list