8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)#3983
8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)#3983antonvoznia wants to merge 2 commits intoopenjdk:masterfrom
Conversation
…CpuLoad are stale after 24.8 days (Windows) Reviewed-by: amenkov, sspitsyn
|
Hi @antonvoznia, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user antonvoznia" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
|
@antonvoznia 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 349 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. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
This backport pull request has now been updated with issue from the original commit. |
|
/covered |
|
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
|
@antonvoznia 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 issue a |
|
|
|
@antonvoznia This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open |
|
@antonvoznia This pull request is now open |
|
@antonvoznia 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 issue a |
|
@antonvoznia what happen to this pull request? Looking forward to getting this into JDK 17 // Regards pontusp (reporter of JDK-8351359) |
|
/touch |
|
@antonvoznia The pull request is being re-evaluated and the inactivity timeout has been reset. |
|
@pontusp , |
|
@antonvoznia You need to re-apply for approval. This is currently not showing up in the list of bugs to approve (missing approval label). |
|
This backport pull request has now been updated with issue from the original commit. |
|
/approval It's a clean backport to JDK17. The hanges are related to Windows only. |
|
@antonvoznia usage: |
|
/approval request It's a clean backport to JDK17. The hanges are related to Windows only. |
|
@antonvoznia |
|
@jerboaa , thank you, I've updated the label :) |
|
HI @antonvoznia You can issue the /approval command again with a approriate comment. |
|
/approval request Fix request jdk17u-dev |
|
@antonvoznia |
|
@GoeLin , done. |
|
Probably something wasn't stable in the test pipeline. Because, before submitting this PR, I ran the tests in my fork, it was passed: |
|
Hi,
It's a clean backport of JDK-8351359.
Changes are related to Windows only.
Testing:
getProcessCpuLoad()on windows server 2025, intel cpuProgress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3983/head:pull/3983$ git checkout pull/3983Update a local copy of the PR:
$ git checkout pull/3983$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3983/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3983View PR using the GUI difftool:
$ git pr show -t 3983Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3983.diff
Using Webrev
Link to Webrev Comment