On Wed, 30 Mar 2022 01:46:20 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 It would be better to describe how to reproduce the bug. Is it possible to add a jtreg test for this case? Please also update the copyright year. ------------- PR: https://git.openjdk.java.net/jdk/pull/8028