--- old/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp 2016-02-18 15:25:00.841784912 -0800 +++ new/src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp 2016-02-18 15:25:00.720776439 -0800 @@ -197,6 +197,16 @@ bool SharedRuntime::is_wide_vector(int size) { return size > 8; } + +size_t SharedRuntime::trampoline_size() { + return 16; +} + +void SharedRuntime::generate_trampoline(MacroAssembler *masm, address destination) { + __ mov(rscratch1, destination); + __ br(rscratch1); +} + // The java_calling_convention describes stack locations as ideal slots on // a frame with no abi restrictions. Since we must observe abi restrictions // (like the placement of the register window) the slots must be biased by