8290834: Improve potentially confusing documentation on collection of profiling information#9598
8290834: Improve potentially confusing documentation on collection of profiling information#9598TheShermanTanker wants to merge 10 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back jwaters! A progress list of the required criteria for merging this PR into |
|
@TheShermanTanker The following label will be automatically applied to this pull request:
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. |
Webrevs
|
|
/label hotspot-compiler |
|
@dean-long |
|
C1 uses ciMethod::ensure_method_data(), which calls Method::build_interpreter_method_data(), to create an MDO if one wasn't already created by the interpreter. So the name build_interpreter_method_data() is a bit misleading, because C1 will use the same MDO as the interpreter. I also found a comment in c1_globals.hpp about C1UpdateMethodData that mentions tier1. I think the comment should be changed to say tier3. |
|
|
|
Please note. CI (compiler interface) and its API (ciMethod*) is used by JIT compilers C1 and C2 only during compilation. |
|
@dean-long posted his comment before I finished my :) |
Ah, my mistake. I'll fix the issue asap |
|
Mailing list message from Kandu, Rahul on hotspot-compiler-dev: -----Original Message----- On Fri, 22 Jul 2022 18:17:26 GMT, Dean Long <dlong at openjdk.org> wrote:
Revised ------------- PR: https://git.openjdk.org/jdk/pull/9598 |
|
/reviewers 2 |
|
@TheShermanTanker 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 17 new commits pushed to the
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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TobiHartmann, @vnkozlov, @dean-long) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
@TobiHartmann |
|
Thanks all for the reviews! |
|
/integrate |
|
@TheShermanTanker |
|
@TheShermanTanker |
|
/sponsor |
|
Going to push as commit 0ca5cb1.
Your commit was automatically rebased without conflicts. |
|
@dean-long @TheShermanTanker Pushed as commit 0ca5cb1. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Documentation on the MethodData object incorrectly states that it is used when profiling in tiers 0 and 1, when it only does so for tier 0 (Interpreter) and tier 3, while tier 1 (Fully optimizing C1) does not collect any profile data at all. Additionally, the description for the different execution tiers is slightly confusing. This cleanup attempts to slightly better clarify how profiling is tied together between the Interpreter and C1, explain what MDO is an abbreviation for (MethodData object), and corrects the documentation for MethodData as well.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9598/head:pull/9598$ git checkout pull/9598Update a local copy of the PR:
$ git checkout pull/9598$ git pull https://git.openjdk.org/jdk pull/9598/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9598View PR using the GUI difftool:
$ git pr show -t 9598Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9598.diff