We can reduce the size of the jpackage.jmod by using SIZE optimization for the native components on Linux. See
SIZE opt. linuxx86_64 gcc13 devkit du -sk images/jdk/jmods/jdk.jpackage.jmod 1292 images/jdk/jmods/jdk.jpackage.jmod linuxppc64le gcc13 devkit du -sk images/jdk/jmods/jdk.jpackage.jmod 1416 images/jdk/jmods/jdk.jpackage.jmod NORMAL opt. linuxx86_64 gcc13 devkit du -sk images/jdk/jmods/jdk.jpackage.jmod 1336 images/jdk/jmods/jdk.jpackage.jmod linuxppc64le gcc13 devkit du -sk images/jdk/jmods/jdk.jpackage.jmod 1460 images/jdk/jmods/jdk.jpackage.jmod ------------- Commit messages: - JDK-8377231 Changes: https://git.openjdk.org/jdk/pull/29585/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29585&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8377231 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/29585.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29585/head:pull/29585 PR: https://git.openjdk.org/jdk/pull/29585
