[jdk21u-dev] RFR: 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected [v3]

Jan Kratochvil jkratochvil at openjdk.org
Wed Jul 2 13:32:35 UTC 2025


> A patch 7 of 7 for: [[21u] Backport intention of 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected](https://mail.openjdk.org/pipermail/jdk-updates-dev/2025-April/043206.html)
> 
> It has a patch dependency on PR 6 of 7: https://github.com/openjdk/jdk21u-dev/pull/1663
> 
> This backport is clean.
> 
> The whole patchset has been tested on CentOS-7.9 (for cgroup v1) and on Fedora 40 (for cgroup v2) for test/hotspot/jtreg/containers.

Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:

 - Merge remote-tracking branch 'janjdk21u-dev/devmaster-cgroup2reduced123456b' into devmaster-cgroup2reduced123456-new
 - 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected
   
   Reviewed-by: stuefe, asmehra
 - 8338236: Compile error in cgroup code on Linux when using clang
   
   Reviewed-by: mdoerr, sgehwolf
 - 8331560: Refactor Hotspot container detection code so that subsystem delegates to controllers
   
   Reviewed-by: jsjolen, stuefe
 - 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container
   
   Reviewed-by: stuefe, iklam
 - src/java.base/linux/native/libjava/CgroupMetrics.c:42:(.text+0x11): undefined reference to `JVM_IsContainerized'
    - a patch by Yuri Nesterenko
 - 8333326: Linux Alpine build fails after 8302744
   
   Reviewed-by: sgehwolf, clanger, stuefe
 - 8302744: Refactor Hotspot container detection code
   
   Reviewed-by: jsjolen, stuefe
 - 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected
   
   Reviewed-by: stuefe, asmehra

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

Changes: https://git.openjdk.org/jdk21u-dev/pull/1664/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1664&range=02
  Stats: 445 lines in 9 files changed: 334 ins; 83 del; 28 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1664.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1664/head:pull/1664

PR: https://git.openjdk.org/jdk21u-dev/pull/1664


More information about the jdk-updates-dev mailing list