RFR: JDK-8284977: MetricsTesterCgroupV2.getLongValueEntryFromFile fails when named value doesn't exist
Martin Doerr
mdoerr at openjdk.java.net
Tue Jun 14 20:12: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.
Do we want to fix it in JDK20 only (not 19)? "Bugs of any priority whose fixes only affect tests, or test-problem lists, or documentation may be fixed in RDP 1 and RDP 2." https://openjdk.org/jeps/3#rdp-1
-------------
PR: https://git.openjdk.org/jdk/pull/9153
More information about the hotspot-runtime-dev
mailing list