RFR: 8283903: GetContainerCpuLoad does not return the correct result in share mode

Jie Fu jiefu at openjdk.java.net
Wed Mar 30 02:40:38 UTC 2022


On Wed, 30 Mar 2022 02:29:47 GMT, xpbob <duke at openjdk.java.net> wrote:

> In share mode, the process runs for a long time and the number of physical machine cores is large, making it easier to reappear.

So if we run long enough, the `getHostTotalCpuTicks0()` may return overflowed `hostTicks`, right?

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

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


More information about the serviceability-dev mailing list