[jdk8u-dev] RFR: 8293540: [Metrics] Incorrectly detected resource limits with additional cgroup fs mounts [v2]

Severin Gehwolf sgehwolf at openjdk.org
Fri Jan 20 11:13:44 UTC 2023


On Wed, 11 Jan 2023 15:30:49 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> Jonathan Dowland has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.
>
> jdk/test/jdk/internal/platform/cgroup/TestCgroupSubsystemFactory.java line 368:
> 
>> 366:         assertEquals("/", cpuSetInfo.getMountRoot());
>> 367:         // Ensure controllers at /sys/fs/cgroup will be used
>> 368:         String[] ctrlNames = new String[] { "memory", "cpu", "cpuacct", "blkio", "pids" };
> 
> The `pids` controller is not present in 8u ([JDK-8266490](https://bugs.openjdk.org/browse/JDK-8266490)). This results in a test failure (NPE). Please remove it.

@jmtd This would also need fixing --^ :)

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

PR: https://git.openjdk.org/jdk8u-dev/pull/221


More information about the jdk8u-dev mailing list