-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
8256172: Clean up CDS handling of i2i_entry #1280
Conversation
👋 Welcome back iklam! A progress list of the required criteria for merging this PR into |
@iklam this pull request can not be integrated into git checkout 8256172-cleanup-cds-i2i-entry
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
void MetaspaceShared::init_misc_code_space() { | ||
// We don't want any valid object to be at the very bottom of the archive. | ||
// See ArchivePtrMarker::mark_pointer(). | ||
MetaspaceShared::misc_code_space_alloc(16); |
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.
16 looks arbitrary number though we know it is minimal object alignment --- maybe we we can use object_alignment instead? up to you.
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.
16
is just an arbitrary small number. MetaspaceShared::misc_code_space_alloc(16)
will round up the size to the appropriate alignment. So I think I'll keep the existing code.
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.
Look good to me.
@iklam 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:
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 9 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
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.
Cleanup looks good.
Thanks @calvinccheung and @yminqi for the review. |
@iklam Since your change was applied there have been 9 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 4178834. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This PR is a prerequisite for JDK-8250989 - Consolidate buffer allocation code for CDS static/dynamic archive dumping.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/1280/head:pull/1280
$ git checkout pull/1280