RFR: 8265836: OperatingSystemImpl.getCpuLoad() returns incorrect CPU load inside a container [v4]
Hao Tang
github.com+7947546+tanghaoth90 at openjdk.java.net
Wed May 26 01:55:14 UTC 2021
On Tue, 25 May 2021 09:56:50 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
>> Hao Tang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix compile errors on MacOS
>
> src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java line 44:
>
>> 42:
>> 43: private static final int MAX_ATTEMPTS_NUMBER = 10;
>> 44: private static final int PER_CPU_SHARES = 1024;
>
> I think this is no longer used anywhere so can get removed.
Done
-------------
PR: https://git.openjdk.java.net/jdk/pull/3656
More information about the serviceability-dev
mailing list