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

> GetHostTotalCpuTicks0 is correct
> (GetHostTotalCpuTicks0() * containerCPUs) will overflowed

Okay.
It makes sense for this case.

Maybe, there is no way to prevent the overflow of `hostTicks ` returned by 
`getHostTotalCpuTicks0()`.
So the change looks good to me.
Thanks.

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

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

Reply via email to