From: OpenJDK Team Date: Fri, 11 Nov 2022 07:39:25 +0000 (+0000) Subject: hotspot-mips-align X-Git-Tag: archive/raspbian/17.0.6+10-1+rpi1~33 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f31307b300b88111e7207ab39e5afdaf1f16b483;p=openjdk-17.git hotspot-mips-align Gbp-Pq: Name hotspot-mips-align.diff --- diff --git a/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp b/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp index 453480c65..64e20007e 100644 --- a/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp +++ b/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp @@ -418,7 +418,7 @@ int ZeroInterpreter::native_entry(Method* method, intptr_t UNUSED, TRAPS) { ThreadStateTransition::transition_from_java(thread, _thread_in_native); // Make the call - intptr_t result[4 - LogBytesPerWord]; + intptr_t result[4 - LogBytesPerWord] __attribute__((__aligned__(__alignof__(double)))); ffi_call(handler->cif(), (void (*)()) function, result, arguments); // Change the thread state back to _thread_in_Java and ensure it