Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --enable-linkable-runtime for JDK 24+ #4039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerboaa
Copy link
Contributor

@jerboaa jerboaa commented Nov 14, 2024

For JDK's including JEP 493, enable the build option for producing a jlink that is capable of linking from the run-time image. A build with it no longer contains the jmods folder. Thus, the size savings. See below for some numbers.

Closes #4035

@jerboaa
Copy link
Contributor Author

jerboaa commented Nov 14, 2024

Test JDK 24 pipeline with this is here.

A few numbers for the compressed JDK tarball/zip - according to Jenkins:

Build Before After
Linux x64 (jdk) 205.54 MiB 133.03 MiB
Windows x64 (jdk) 205.00 MiB 133.40 MiB
MacOSX aarch64 (jdk) 199.04 MiB 129.29 MiB
AIX ppc64 (jdk) 185.14 MiB 110.57 MiB

For JDK's including JEP 493, enable the build option
for producing a jlink that is capable of linking from
the run-time image.

Closes adoptium#4035
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[JDK 24] Enable JEP 493 in Temurin 24 builds
1 participant