RFR: JDK-8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
Severin Gehwolf
sgehwolf at openjdk.java.net
Tue Jun 14 11:55:03 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.
LGTM
-------------
Marked as reviewed by sgehwolf (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9153
More information about the hotspot-runtime-dev
mailing list