8309210: Extend VM Operations hs_err logging#14248
8309210: Extend VM Operations hs_err logging#14248stefank wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
/label add hotspot |
|
This proposal would change the output from: To something like this: |
|
👋 Welcome back stefank! A progress list of the required criteria for merging this PR into |
|
@stefank |
dholmes-ora
left a comment
There was a problem hiding this comment.
Seems quite reasonable.
Thanks.
|
@stefank 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 42 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 |
fisk
left a comment
There was a problem hiding this comment.
This will make debugging much easier. Thank you. Looks good.
kstefanj
left a comment
There was a problem hiding this comment.
Looks good! File file an enhancement to add this for all VM_GC_Operations
|
Thanks for the reviews! |
|
Going to push as commit e8268d9.
Your commit was automatically rebased without conflicts. |
We have a section in the hs_err file, which prints the most recently run VM operations. Sometimes a VM operation type is used from multiple places in our code and it's not obvious why the VM operation was run. For example, HandshakeAllThreads doesn't tell us why we are running the handshake. I propose that we add an option for the VM operations to tell more about why they are used.
The proposed patch enhances the Handshake VM operation and the ZGC pause VM Operations.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/14248/head:pull/14248$ git checkout pull/14248Update a local copy of the PR:
$ git checkout pull/14248$ git pull https://git.openjdk.org/jdk.git pull/14248/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 14248View PR using the GUI difftool:
$ git pr show -t 14248Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/14248.diff
Webrev
Link to Webrev Comment