Skip to content

8350457: Implement JEP 519: Compact Object Headers #24522

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

Closed
wants to merge 4 commits into from

Conversation

rkennke
Copy link
Contributor

@rkennke rkennke commented Apr 8, 2025

As title says.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change requires CSR request JDK-8354070 to be approved
  • Change requires a JEP request to be targeted

Issues

  • JDK-8350457: Implement JEP 519: Compact Object Headers (Enhancement - P3)
  • JDK-8354672: JEP 519: Compact Object Headers (JEP)
  • JDK-8354070: Support Compact Object Headers as product option (CSR)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24522/head:pull/24522
$ git checkout pull/24522

Update a local copy of the PR:
$ git checkout pull/24522
$ git pull https://git.openjdk.org/jdk.git pull/24522/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 24522

View PR using the GUI difftool:
$ git pr show -t 24522

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24522.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 8, 2025

👋 Welcome back rkennke! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Apr 8, 2025

@rkennke This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8350457: Implement JEP 519: Compact Object Headers

Reviewed-by: mdoerr, coleenp, zgu

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 8 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added csr Pull request needs approved CSR before integration rfr Pull request is ready for review labels Apr 8, 2025
@openjdk
Copy link

openjdk bot commented Apr 8, 2025

@rkennke The following label will be automatically applied to this pull request:

  • hotspot-runtime

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the hotspot-runtime hotspot-runtime-dev@openjdk.org label Apr 8, 2025
@mlbridge
Copy link

mlbridge bot commented Apr 8, 2025

Webrevs

Copy link
Contributor

@zhengyu123 zhengyu123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dholmes-ora
Copy link
Member

Are there no tests that need -XX:+UnlockExperimentalVMOptions to be removed?

@liach
Copy link
Member

liach commented Apr 9, 2025

I just noticed we missed this flag for https://docs.oracle.com/en/java/javase/24/docs/specs/man/java.html#advanced-runtime-options-for-java - if we add this option to java.md, should we do it in this patch or a separate patch?

@dholmes-ora
Copy link
Member

I just noticed we missed this flag for https://docs.oracle.com/en/java/javase/24/docs/specs/man/java.html#advanced-runtime-options-for-java - if we add this option to java.md, should we do it in this patch or a separate patch?

It wasn't missed - we don't (generally - I'm not going to say never) document experimental flags in the command reference. Once it is a product flag then it probably should be documented.

@rkennke rkennke changed the title 8350457: Support Compact Object Headers as product option 8350457: Implement Compact Object Headers (Production) May 2, 2025
Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. A bit unfortunate that we need so many CDS archives. Maybe some people are interested in e.g. using CDS only with COH. Just an idea for future enhancements (configure options).

@rkennke
Copy link
Contributor Author

rkennke commented May 5, 2025

LGTM. A bit unfortunate that we need so many CDS archives. Maybe some people are interested in e.g. using CDS only with COH. Just an idea for future enhancements (configure options).

The plan is to get rid of options and combinations. The only option that will most likely remain is +/-UseCompressedOops.

Copy link
Contributor

@coleenp coleenp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good pending JEP targeting.

@openjdk openjdk bot removed the csr Pull request needs approved CSR before integration label May 13, 2025
@rkennke rkennke changed the title 8350457: Implement Compact Object Headers (Production) 8350457: Implement JEP 519: Compact Object Headers May 21, 2025
@openjdk openjdk bot added the ready Pull request is ready to be integrated label May 21, 2025
@rkennke
Copy link
Contributor Author

rkennke commented May 21, 2025

/jep JEP-519

@openjdk
Copy link

openjdk bot commented May 21, 2025

@rkennke
This pull request will not be integrated until the JEP-519 has been targeted.

@openjdk openjdk bot added jep ready Pull request is ready to be integrated and removed ready Pull request is ready to be integrated jep labels May 21, 2025
@rkennke
Copy link
Contributor Author

rkennke commented May 22, 2025

JEP has been targeted, I think it is ready to go.

Thank you all!

/integrate

@openjdk
Copy link

openjdk bot commented May 22, 2025

Going to push as commit 1e57648.
Since your change was applied there have been 31 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 22, 2025
@openjdk openjdk bot closed this May 22, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels May 22, 2025
@openjdk
Copy link

openjdk bot commented May 22, 2025

@rkennke Pushed as commit 1e57648.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

6 participants