On Wed, 30 Mar 2022 02:08:16 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: > > update copyright year 175476155560000000 host ticks at 1ns/tick => 5.5 years! This is a theoretical overflow - right? David ------------- PR: https://git.openjdk.java.net/jdk/pull/8028