Skip to content

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Sep 23, 2025

This is very hard to test yet w/o a JDK25 RPM to install.

https://issues.redhat.com/browse/OPENJDK-4106

Depends upon: #612

@jmtd jmtd added the ubi10 RHEL UBI10 label Sep 23, 2025
@jmtd
Copy link
Member Author

jmtd commented Sep 25, 2025

I've just had some news which implies I might need to design this so that I don't break older JDKs after all…

Source jvm-options (if it exists) from the Cekit "JRE" module
path, rather than JDK.

Move the evaluation of 'jvm_specific_options' out of the GC
options function (gc_config) and into the general command line
assembly.

At present, none of the Cekit modules (JDK or JRE) provide the
jvm-options file.

Signed-off-by: Jonathan Dowland <[email protected]>
In the JRE module only (so far); define jvm_specific_options
containing -XX:+UseCompactObjectHeaders unless
JAVA_COMPACT_OBJECT_HEADERS is defined to "false".

Signed-off-by: Jonathan Dowland <[email protected]>
To avoid repeating ourselves, recognising that the JRE module
is a subset of the configuration required for the JDK modules,
include the former from the latter.

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd force-pushed the 4106-ubi10-UseCompactObjectHeaders branch from c3f8229 to d257a52 Compare September 30, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ubi10 RHEL UBI10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants