RFR: JDK-8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
Martin Doerr
mdoerr at openjdk.java.net
Tue Jun 14 19:49:41 UTC 2022
On Tue, 14 Jun 2022 11:26:17 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> When running test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java on ubuntu 21.10 or 22 , this test looks for a named value "nr_periods" in the file /sys/fs/cgroup/..../cpu.stat . However this metric is not always present, which leads to an AIOOB exception.
Marked as reviewed by mdoerr (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/9153
More information about the hotspot-runtime-dev
mailing list