RFR: JDK-8293472: Cgroup: 'stomping of _mount_path' crash if manually mounted cg controller exist [v4]

Severin Gehwolf sgehwolf at openjdk.org
Wed Sep 7 12:39:40 UTC 2022


On Wed, 7 Sep 2022 09:16:52 GMT, 王超 <duke at openjdk.org> wrote:

>> Similar to [JDK-8253435](https://bugs.openjdk.org/browse/JDK-8253435), when setting the mount path of cgroup controller "memory/cpu/cpuacct/pids", it should also discard duplicate items.
>
> 王超 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix typo

My testing on cgv2 and cgv1 indicates that we might have a container resource limit detection problem depending on the order of `mountinfo` entries are observed at runtime. Please add memory and cpu limit container detection tests which do `-v /sys/fs/cgroup:/cgroups-in:ro` as a volume mount in addition. Thanks!

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

PR: https://git.openjdk.org/jdk/pull/10193


More information about the hotspot-runtime-dev mailing list