[jdk8u-dev] Integrated: 8239559: Cgroups: Incorrect detection logic on some systems

Jonathan Dowland jdowland at openjdk.org
Tue Dec 13 15:50:07 UTC 2022


On Thu, 13 Oct 2022 09:34:05 GMT, Jonathan Dowland <jdowland at openjdk.org> wrote:

> This is a backport of 53ee0c4963007b86db7979312b81f990e6ce271a via the 11u backport 53ee0c4963007b86db7979312b81f990e6ce271a for cgroups v2 support in jdk8u-dev.
> 
> It isn't clean: context differences in CgroupSubsystemFactory.java around the use of post-8u logging in the original patch.
> 
> I also had to Optional.isEmpty which is not present in 8u's Optional.

This pull request has now been integrated.

Changeset: b0826174
Author:    Jonathan Dowland <jdowland at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/b0826174b78d2acf758b1df8c3233a4885eb1715
Stats:     316 lines in 3 files changed: 287 ins; 21 del; 8 mod

8239559: Cgroups: Incorrect detection logic on some systems

Adjust heuristic with cgroup mounts according to mountinfo

Reviewed-by: sgehwolf
Backport-of: 53ee0c4963007b86db7979312b81f990e6ce271a

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

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


More information about the jdk8u-dev mailing list