hotspot-mips-align
authorOpenJDK Team <openjdk-17@packages.debian.org>
Thu, 17 Oct 2024 20:50:46 +0000 (22:50 +0200)
committerMoritz Mühlenhoff <jmm@debian.org>
Thu, 17 Oct 2024 20:50:46 +0000 (22:50 +0200)
Gbp-Pq: Name hotspot-mips-align.diff

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

index b73669f6450fe8abe9e4b65fe9c6a0d385e83a4a..610c254356f991aa2c699be08c9c0c7abdf9aa0d 100644 (file)
@@ -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