git: openjdk/jdk21u-dev: master: 8349988: Change cgroup version detection logic to not depend on /proc/cgroups
Paul Hohensee
phh at openjdk.org
Fri Oct 31 00:55:40 UTC 2025
Changeset: dd842c44
Branch: master
Author: Sergey Chernyshev <schernyshev at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
Date: 2025-10-31 00:50:49 +0000
URL: https://git.openjdk.org/jdk21u-dev/commit/dd842c440e3f50028fc991b29ea096f0e64e967b
8349988: Change cgroup version detection logic to not depend on /proc/cgroups
8347811: Container detection code for cgroups v2 should use cgroup.controllers
Reviewed-by: fitzsim
Backport-of: 9c5ed23eac7470f56d498e9c4d3c51c2f80fd571
! src/hotspot/os/linux/cgroupSubsystem_linux.cpp
! src/hotspot/os/linux/cgroupSubsystem_linux.hpp
! src/hotspot/share/prims/whitebox.cpp
! src/hotspot/share/prims/whitebox.hpp
! test/hotspot/jtreg/containers/cgroup/CgroupSubsystemFactory.java
! test/lib/jdk/test/whitebox/WhiteBox.java
More information about the jdk-updates-changes
mailing list