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

Ashutosh Mehra asmehra at openjdk.org
Thu Sep 5 18:28:51 UTC 2024


On Thu, 5 Sep 2024 09:06:50 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> I've filed https://bugs.openjdk.org/browse/JDK-8339593 to summarize this. Right now, I don't think it's critical enough to warrant implementing it in all possible cases. 

Okay, I am fine with this.

> It's already there? This has been added with https://bugs.openjdk.org/browse/JDK-8227006 and https://bugs.openjdk.org/browse/JDK-8232207. The current code doing it for CPU is [here](https://github.com/openjdk/jdk/blob/96a0502d624e3eff1b00a7c63e8b3a27870b475e/src/hotspot/os/linux/cgroupSubsystem_linux.cpp#L562-L584) and for memory it's [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/os/linux/cgroupSubsystem_linux.cpp#L595-L607). It's only been done for the core metrics, though.

Thanks for pointing it out. Somehow I missed it.

And thanks for running through the scenario.

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

PR Comment: https://git.openjdk.org/jdk/pull/20646#issuecomment-2332380928


More information about the hotspot-runtime-dev mailing list