mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-10 15:08:43 +00:00
8381656: Take into account trampoline stub size and its relocations on Aarch64
Reviewed-by: dlong
This commit is contained in:
parent
b297f59dc9
commit
da16b409c3
@ -1182,12 +1182,12 @@ class CallStubImpl {
|
||||
public:
|
||||
// Size of call trampoline stub.
|
||||
static uint size_call_trampoline() {
|
||||
return 0; // no call trampolines on this platform
|
||||
return MacroAssembler::max_trampoline_stub_size();
|
||||
}
|
||||
|
||||
// number of relocations needed by a call trampoline stub
|
||||
static uint reloc_call_trampoline() {
|
||||
return 0; // no call trampolines on this platform
|
||||
return 5; // metadata; call dest; trampoline address; trampoline destination; trampoline_owner_metadata
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user