[jdk21u-dev] RFR: 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container [v3]

Severin Gehwolf sgehwolf at openjdk.org
Tue Jun 17 08:41:40 UTC 2025


On Fri, 13 Jun 2025 13:34:40 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:

>> Jan Kratochvil 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. The pull request contains five additional commits since the last revision:
>> 
>>  - Merge branch 'devmaster' into devmaster-cgroup2reduced123-conflict
>>  - 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
>
> I think https://github.com/openjdk/jdk21u-dev/pull/1869 should be [ready] before integrating this one.

@jankratochvil Is there anything you are still waiting on for this one? It's ready.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1661#issuecomment-2979463558


More information about the jdk-updates-dev mailing list