8290739: Simplify storage of dump-time class information#9634
8290739: Simplify storage of dump-time class information#9634iklam wants to merge 7 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back iklam! A progress list of the required criteria for merging this PR into |
Webrevs
|
… -> !_class_loading_may_happen to avoid double-negation in the code
|
@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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
…refactor-sysdictshared-find-or-allocate-info
|
Thanks to @calvinccheung for the review. |
|
Going to push as commit bc6a3c7.
Your commit was automatically rebased without conflicts. |
Some code clean up in anticipation of future CDS development.
I moved the initialization of
SystemDictionaryShared::_dumptime_tableandSystemDictionaryShared::_dumptime_lambda_proxy_class_dictionaryto VM bootstrap, so that:The current implementation guarantees that
SystemDictionaryShared::_dumptime_tablealways contains aDumpTimeClassInfofor eachInstanceKlassthat's being considered for inclusion in the CDS archive. I simplified the oldSystemDictionaryShared::find_or_allocate_info_for()API toFor more details, please see JBS issue: JDK-8290739
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9634/head:pull/9634$ git checkout pull/9634Update a local copy of the PR:
$ git checkout pull/9634$ git pull https://git.openjdk.org/jdk pull/9634/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9634View PR using the GUI difftool:
$ git pr show -t 9634Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9634.diff