hotspot-mips-align
authorOpenJDK Team <openjdk-21@packages.debian.org>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
committerMatthias Klose <doko@ubuntu.com>
Thu, 27 Mar 2025 11:19:44 +0000 (12:19 +0100)
Gbp-Pq: Name hotspot-mips-align.diff

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

index d92b43f0ea54e7ef21cd055848d0d0fe030a43c2..84d4ffb18d412b88d2c5b6177aeebed8666418e1 100644 (file)
@@ -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