hotspot-mips-align
authorOpenJDK Team <openjdk-17@packages.debian.org>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
committerMatthias Klose <doko@ubuntu.com>
Wed, 20 Jul 2022 16:04:41 +0000 (17:04 +0100)
Gbp-Pq: Name hotspot-mips-align.diff

src/hotspot/cpu/zero/zeroInterpreter_zero.cpp

index 453480c6565f0485e63b901c406378a20efe348e..64e20007e223460d77ddad8aaff5fe409112fec5 100644 (file)
@@ -418,7 +418,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