RFR: 8344036: Tests tools/jlink/runtimeImage fail on AIX after JDK-8311302

Severin Gehwolf sgehwolf at openjdk.org
Fri Nov 15 12:34:56 UTC 2024


On Fri, 15 Nov 2024 11:36:50 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Regarding Xmx1500m I can try this , or I can also copy the whole test header block and use 1g for all platforms and 2g or 1500m for AIX (would be a bit code duplication of course).

If `-Xmx1500m` works for you that seems ok. `-1` on the bump only for AIX and requires. An alternative might be to use `test/jdk/tools/jlink/runtimeImage/TEST.properties` with this content:


exclusiveAccess.dirs=.


I could see why the JavaSE comparison test with packaged modules and run-time image linkage would need 2 GB, but not the others.

Both options seem preferred over the current version. It might be that a combination of `-Xmx1500m`, `exclusiveAccess.dirs=.` works. The less invasive the better.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22140#issuecomment-2478713857


More information about the core-libs-dev mailing list