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

Severin Gehwolf sgehwolf at openjdk.org
Fri Nov 15 10:55:11 UTC 2024


On Fri, 15 Nov 2024 10:13:16 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Where you able to reproduce outside of testing?

Something like this should give you an idea what the RSS size ends up being (not sure about the AIX equivalent to get that info, though; this is Linux)


$ rm -rf ./build/linkable-runtime/ && \time --format "Max RSS: %M KB" ./build/linux-x86_64-server-fastdebug/images/jdk/bin/jlink -J-Xmx1g --add-modules java.base,jdk.jlink --generate-linkable-runtime --keep-packaged-modules=./build/linkable-runtime/jmods --output ./build/linkable-runtime/
Max RSS: 569332 KB

$ rm -rf ./build/linkable-runtime/ && \time --format "Max RSS: %M KB" ./build/linux-x86_64-server-fastdebug/images/jdk/bin/jlink -J-Xmx1g --add-modules ALL-MODULE-PATH --generate-linkable-runtime --keep-packaged-modules=./build/linkable-runtime/jmods --output ./build/linkable-runtime/
WARNING: Using incubator modules: jdk.incubator.vector
Max RSS: 593816 KB

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

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


More information about the core-libs-dev mailing list