-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
b06
-
aix
AIX has different alignment rules regarding double structure members which are not the first member.
AIX supports "#pragma align (natural)" which we use sinceJDK-8318175. That makes the structure layouts compatible with linux.
AIX also supports "#pragma align (power)" which is the default. If this alignment mode is used double structure members which are not the first member are only 4 Byte aligned.
The modes are also described here: https://www.ibm.com/docs/en/xl-c-and-cpp-aix/16.1?topic=data-using-alignment-modes
JDK-8317545 supports both modes, but we have no test for the "#pragma align (power)" mode, yet.
AIX supports "#pragma align (natural)" which we use since
AIX also supports "#pragma align (power)" which is the default. If this alignment mode is used double structure members which are not the first member are only 4 Byte aligned.
The modes are also described here: https://www.ibm.com/docs/en/xl-c-and-cpp-aix/16.1?topic=data-using-alignment-modes
- links to
-
Commit(master) openjdk/jdk/61dc07c1
-
Review(master) openjdk/jdk/22889