RFR: 8269851: OperatingSystemMXBean getProcessCpuLoad reports incorrect process cpu usage in containers [v4]
Severin Gehwolf
sgehwolf at openjdk.java.net
Fri Jul 9 14:22:54 UTC 2021
On Thu, 8 Jul 2021 02:51:09 GMT, xpbob <github.com+7837910+xpbob at openjdk.org> wrote:
>> …ocess cpu usage in containers
>
> xpbob has updated the pull request incrementally with one additional commit since the last revision:
>
> remove whitespace
Thanks for the update. `getProcessCpuLoad()` and `getCpuLoad()` looks way too similar to me. Is there a way to make them more generic and do the process vs. system paths as needed? I think there is.
-------------
Changes requested by sgehwolf (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/4702
More information about the serviceability-dev
mailing list