Details
-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b09
-
aix
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8327700 | 22.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8327764 | 21.0.4 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
Description
In the same spirit as JDK-8318696, we should adapt the AIX-specific code in hotspot so it uses the well-defined posix <foo> functions, instead of <foo>64. By setting the define _LARGE_FILES, this will make <foo> behave as <foo>64, just as _FILE_OFFSET_BITS=64 does on gcc. (Reference: https://www.ibm.com/docs/en/aix/7.1?topic=volumes-writing-programs-that-access-large-files)
In theory, it should not even be necessary to set this, since we only compile for 64-bit AIX platforms, and this is only relevant on 32-bit platforms. But let's add the define anyway, for good measure. It shows at least that we have thought about the matter. :-)
In theory, it should not even be necessary to set this, since we only compile for 64-bit AIX platforms, and this is only relevant on 32-bit platforms. But let's add the define anyway, for good measure. It shows at least that we have thought about the matter. :-)
Attachments
Issue Links
- backported by
-
JDK-8327700 Use _LARGE_FILES on AIX
- Resolved
-
JDK-8327764 Use _LARGE_FILES on AIX
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/3086ed88
-
Commit openjdk/jdk22u/fd113824
-
Commit openjdk/jdk/8e451823
-
Review openjdk/jdk21u-dev/316
-
Review openjdk/jdk22u/82
-
Review openjdk/jdk/17611
(3 links to)