hotspot-mips-align
authorOpenJDK Team <openjdk-21@packages.debian.org>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 23 Apr 2025 23:57:46 +0000 (01:57 +0200)
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