-
Notifications
You must be signed in to change notification settings - Fork 61
[OPENJDK-4106] Enable compact object headers #611
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
Merged
jmtd
merged 5 commits into
rh-openjdk:ubi10
from
jmtd:4106-ubi10-UseCompactObjectHeaders
Nov 18, 2025
Merged
[OPENJDK-4106] Enable compact object headers #611
jmtd
merged 5 commits into
rh-openjdk:ubi10
from
jmtd:4106-ubi10-UseCompactObjectHeaders
Nov 18, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jerboaa
reviewed
Sep 23, 2025
modules/jvm/artifacts/opt/jboss/container/java/jvm/java-default-options
Outdated
Show resolved
Hide resolved
Member
Author
|
I've just had some news which implies I might need to design this so that I don't break older JDKs after all… |
c3f8229 to
d257a52
Compare
jmtd
added a commit
to jmtd/redhat-openjdk-containers
that referenced
this pull request
Sep 30, 2025
From rh-openjdk#611 Signed-off-by: Jonathan Dowland <[email protected]>
jmtd
added a commit
to jmtd/redhat-openjdk-containers
that referenced
this pull request
Nov 17, 2025
From rh-openjdk#611 Signed-off-by: Jonathan Dowland <[email protected]>
ba0fca6 to
e662465
Compare
jerboaa
approved these changes
Nov 17, 2025
Contributor
jerboaa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK.
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]>
From rh-openjdk#611 Signed-off-by: Jonathan Dowland <[email protected]>
Signed-off-by: Jonathan Dowland <[email protected]>
e662465 to
533d8b6
Compare
Member
Author
|
Force-push was a rebase after merging the dependent PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Enabled by default
https://issues.redhat.com/browse/OPENJDK-4106
Depends upon: #616