Skip to content

Commit da16b40

Browse files
author
Vladimir Kozlov
committed
8381656: Take into account trampoline stub size and its relocations on Aarch64
Reviewed-by: dlong
1 parent b297f59 commit da16b40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hotspot/cpu/aarch64/aarch64.ad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,12 +1182,12 @@ class CallStubImpl {
11821182
public:
11831183
// Size of call trampoline stub.
11841184
static uint size_call_trampoline() {
1185-
return 0; // no call trampolines on this platform
1185+
return MacroAssembler::max_trampoline_stub_size();
11861186
}
11871187

11881188
// number of relocations needed by a call trampoline stub
11891189
static uint reloc_call_trampoline() {
1190-
return 0; // no call trampolines on this platform
1190+
return 5; // metadata; call dest; trampoline address; trampoline destination; trampoline_owner_metadata
11911191
}
11921192
};
11931193

0 commit comments

Comments
 (0)