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
8263908: Build fails due to initialize_static_field_for_dump defined but not used after JDK-8263771 #3108
Conversation
…but not used after JDK-8263771
/issue add JDK-8263908 |
👋 Welcome back jiefu! A progress list of the required criteria for merging this PR into |
@DamonFool This issue is referenced in the PR title - it will now be updated. |
@DamonFool |
@DamonFool 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.
Looks good and trivial. Thanks!
@DamonFool 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 no new commits pushed to 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.
Thanks for fixing Jie and apologies for the breakage.
David
Thanks @iklam and @dholmes-ora for your review. |
@DamonFool Pushed as commit 35cd945. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
Build failures were observed when cds or g1gc was disabled due to initialize_static_field_for_dump/initialize_static_string_field_for_dump defined but not used.
This can be reproduced by:
This is because INCLUDE_CDS_JAVA_HEAP will be false for these cases [1].
Let's fix it.
Thanks.
Best regards,
Jie
[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/utilities/macros.hpp#L612
Progress
Issue
Reviewers
Download
To checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3108/head:pull/3108
$ git checkout pull/3108
To update a local copy of the PR:
$ git checkout pull/3108
$ git pull https://git.openjdk.java.net/jdk pull/3108/head