-
Notifications
You must be signed in to change notification settings - Fork 208
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
8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate #2277
Conversation
👋 Welcome back yanglong1010! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
@yanglong1010 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 214 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 (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
@yanglong1010 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Gentle ping. I would be very grateful if anyone could help with the review. |
|
/approval 8326446 request The JFR's jdk.CPULoad event provides information about how much CPU is occupied by Java process, often used in performance analysis. But the User and System percentages of jdk.CPULoad event on Apple M1 are inaccurate (far below normal). I would like to backport this fix to jdk17u-dev. |
@yanglong1010 |
@yanglong1010, could you please first do the 22u backport? Thanks. |
Sure, I'll deal with it next week |
Hi, @GoeLin I don't know if you can handle the approval request for 22u. |
@GoeLin The 22u backport has been done. |
/approval 8326446 request The JFR's jdk.CPULoad event provides information about how much CPU is occupied by Java process, often used in performance analysis. But the User and System percentages of jdk.CPULoad event on Apple M1 are inaccurate (far below normal). I would like to backport this fix to jdk17u-dev. |
@yanglong1010 |
/integrate |
@yanglong1010 |
/sponsor |
Going to push as commit 2d834b3.
Your commit was automatically rebased without conflicts. |
@TheRealMDoerr @yanglong1010 Pushed as commit 2d834b3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Thank you all ~ |
Hi, all
Could I have a review of this backport.
This pull request contains a backport of commit 8dbd4b391f7deb1a46a5f07f0bc46f23d6715ddb from the openjdk/jdk repository.
Testing: I ran test/jdk/jdk/jfr/event/os/TestCPULoad.java and passed. All GHA tests are passed (except linux-cross-compile, build(riscv64), Create sysroot. It looks like there's an issue with the GHA's process).
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2277/head:pull/2277
$ git checkout pull/2277
Update a local copy of the PR:
$ git checkout pull/2277
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2277/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2277
View PR using the GUI difftool:
$ git pr show -t 2277
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2277.diff
Webrev
Link to Webrev Comment