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

Evgeny Astigeevich eastigeevich at openjdk.org
Mon Nov 10 22:04:32 UTC 2025


On Mon, 10 Nov 2025 22:00:35 GMT, Evgeny Astigeevich <eastigeevich at openjdk.org> wrote:

>> Mikhail Ablakatov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits:
>> 
>>  - Merge commit 'f6f87bb6759c86d941453a1776e8abfdffc48183' into 8359359
>>  - the only trampoline in ArrayCopyStub is never shared
>>  - fixup: a shared trampoline must branch to a statically bound method
>>  - share static call trampolines generated by C1 as well
>>  - assert callee is nullptr for runtime calls
>>  - assert that call sites offsets aren't missing
>>  - cleanup: rephrase comments in macroAssembler_aarch64.hpp
>>  - Merge commit 'fd29677479797956e0d205b5ce6e7cb9ad407bd1' into 8359359
>>  - Merge commit '41520998aa8808452ee384b213b2a77c7bad668d'
>>  - remove implementation-dependent logic from emit_shared_trampolines()
>>  - ... and 8 more: https://git.openjdk.org/jdk/compare/f6f87bb6...871903f4
>
> test/hotspot/jtreg/compiler/sharedstubs/SharedRuntimeCallTrampolineTest.java line 87:
> 
>> 85: 
>> 86:     private static void checkOutput(OutputAnalyzer output) {
>> 87:         String testMethodStdout = getTestMethodStdout(output);
> 
> Can you add a description what output format is expected? Adding an example will help a lot.

The test expects runtime calls. What will result them to appear?

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

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


More information about the hotspot-dev mailing list