8316178: Better diagnostic header for CodeBlobs#15708
8316178: Better diagnostic header for CodeBlobs#15708shipilev wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
|
@shipilev 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 27 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. ➡️ To integrate this PR with the above commit message to the |
|
Thanks @TobiHartmann! I think I would need another review before I can integrate. |
vnkozlov
left a comment
There was a problem hiding this comment.
Looks good.
One question: did you change INTPTR_FORMAT to PTR_FORMAT because they are the same but shorter name?
Muscle memory: when using |
It looks like we use both evenly so I am fine with this change. |
We have been pushing people towards using PTR_FORMAT instead of INTPTR_FORMAT when printing pointers. |
|
Okay, thanks for reviews. I'll integrate and see to JMH perfasm changes. Once that is done, I am going to backport this to actively maintained JDK releases. /integrate |
|
Going to push as commit d575968.
Your commit was automatically rebased without conflicts. |
|
/backport jdk21u |
|
@shipilev the backport was successfully created on the branch shipilev-backport-d575968b in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/jdk21u:master, just click the following link: The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u: |
|
/backport jdk17u-dev |
|
@shipilev Could not automatically backport
Please fetch the appropriate branch/commit and manually resolve these conflicts by using the following commands in your personal fork of openjdk/jdk17u-dev. Note: these commands are just some suggestions and you can use other equivalent commands you know. Once you have resolved the conflicts as explained above continue with creating a pull request towards the openjdk/jdk17u-dev with the title |
I realized that JMH perfasm misses some CodeBlobs, notably C1 RuntimeBlobs. While amending perfasm to capture those, I discovered the header printout for those blobs is not as convenient as for others. Notably, perfasm would like to know where the stub code ends.
After this change, we print this:
Note it still prints the (base) stub address. I think it is still useful for debugging. The brackets print the code size, because that is what the decoding block handles: the code.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/15708/head:pull/15708$ git checkout pull/15708Update a local copy of the PR:
$ git checkout pull/15708$ git pull https://git.openjdk.org/jdk.git pull/15708/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 15708View PR using the GUI difftool:
$ git pr show -t 15708Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/15708.diff
Webrev
Link to Webrev Comment