jdk17u-dev
jdk17u-dev copied to clipboard
8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)
Hi,
It's a clean backport of JDK-8351359. Changes are related to Windows only.
Testing:
- manual testing code that calls
getProcessCpuLoad()on windows server 2025, intel cpu - OpenJDK GHA Sanity Checks
Progress
- [x] Change must not contain extraneous whitespace
- [ ] JDK-8351359 needs maintainer approval
- [x] Commit message must refer to an issue
Issue
- JDK-8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows) (Bug - P4)
Reviewing
Using git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/3983/head:pull/3983
$ git checkout pull/3983
Update a local copy of the PR:
$ git checkout pull/3983
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/3983/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3983
View PR using the GUI difftool:
$ git pr show -t 3983
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/3983.diff
Using Webrev
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 /signed in a comment in this pull request.
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 /covered in a comment in this pull request.
❗ This change is not yet ready to be integrated. See the Progress checklist in the description for automated requirements.
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 /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!
⚠️ @antonvoznia This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.