On Wed, 30 Mar 2022 11:02:18 GMT, xpbob <d...@openjdk.java.net> wrote:

>> ```        
>>                long hostTicks = getHostTotalCpuTicks0();
>>                 int totalCPUs = getHostOnlineCpuCount0();
>>                 int containerCPUs = getAvailableProcessors();
>>                 // scale the total host load to the actual container cpus
>>                 hostTicks = hostTicks * containerCPUs / totalCPUs;
>> 
>> hostTicks=175476155560000000
>> totalCPUs=96
>> containerCPUs=90
>> 
>> Calculate the overflow
>
> xpbob has updated the pull request incrementally with one additional commit 
> since the last revision:
> 
>   Change the expression

Marked as reviewed by kevinw (Committer).

OK thanks for the description update, and I think the updated code is better 
also.

I guess the app has not been running with the fix long enough to test it fully 
yet?  But if it's looking good so far and reporting good information, and any 
other tests are unaffected, then looks good.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8028

Reply via email to