Re: Bug#1068873: openjdk-21: more m68k patches

Thorsten Glaser <[email protected]>
Newsgroups gmane.linux.debian.ports.68k
Message-ID <[email protected]>
Dixi quod…
>I’ll recompile with re-enabled alignment on the missing base

Seems to be only one.

--- src/hotspot/share/memory/allocation.hpp~	2024-04-12 23:52:54.000000000 +0000
+++ src/hotspot/share/memory/allocation.hpp	2024-04-12 23:52:56.000000000 +0000
@@ -276,7 +276,7 @@ class CHeapObj {
   void operator delete [] (void* p) {
     CHeapObjBase::operator delete[](p);
   }
-};
+} __attribute__ ((aligned (4)));
 
 // Base class for objects allocated on the stack only.
 // Calling new or delete will result in fatal error.

>classes like we have in 17. But if someone has ideas ’til then…

gn8,
//mirabilos
-- 
This space for rent.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.