From 3a2a6ecd8be8b64d417da368b48b6eaca24de3ac Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Wed, 22 Jan 2025 08:58:11 +0100 Subject: [PATCH] hotspot-mips-align Gbp-Pq: Name hotspot-mips-align.diff --- src/hotspot/cpu/zero/zeroInterpreter_zero.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp b/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp index d92b43f0e..84d4ffb18 100644 --- a/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp +++ b/src/hotspot/cpu/zero/zeroInterpreter_zero.cpp @@ -431,7 +431,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 -- 2.30.2