From: OpenJDK Team Date: Wed, 17 Jul 2024 11:02:09 +0000 (+0200) Subject: hotspot-mips-align X-Git-Tag: archive/raspbian/21.0.4+7-2+rpi1^2^2~41 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6fffebbaf3978b64c40871b40e3f2881e7e31972;p=openjdk-21.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 b73669f64..610c25435 100644 --- a/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp +++ b/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp @@ -426,7 +426,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