[jdk21u-dev] RFR: 8341644: Compile error in cgroup coding when using toolchain clang [v2]

Severin Gehwolf sgehwolf at openjdk.org
Thu Jul 3 14:17:44 UTC 2025


On Thu, 3 Jul 2025 13:56:30 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:

>> A patch 8 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 7 of 7: https://github.com/openjdk/jdk21u-dev/pull/1664
>> 
>> This backport is clean.
>
> Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 12 commits:
> 
>  - 8341644: Compile error in cgroup coding when using toolchain clang
>    
>    Reviewed-by: stefank, mdoerr
>  - retry CI #2
>  - retry CI
>  - 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
>  - ... and 2 more: https://git.openjdk.org/jdk21u-dev/compare/9d4c0dff...e886f48f

@jankratochvil Please resolve the merge conflicts and then this PR should transition to ready as well.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1934#issuecomment-3032443809


More information about the jdk-updates-dev mailing list