Integrated: JDK-8273526: Extend the OSContainer API pids controller with pids.current
Matthias Baesken
mbaesken at openjdk.java.net
Thu Sep 16 07:11:49 UTC 2021
On Thu, 9 Sep 2021 09:21:59 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> https://bugs.openjdk.java.net/browse/JDK-8266490
> extended the OSContainer API in order to also support the pids controller of cgroups. However only pids.max output was added with 8266490.
> There is a second parameter pids.current , see https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#pid
> that would be helpful too and can be added to the OSContainer API .
> pids.current :
> A read-only single value file which exists on all cgroups.
> The number of processes currently in the cgroup and its descendants.
>
> Best regards, Matthias
This pull request has now been integrated.
Changeset: d4546b6b
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d4546b6b36f9dc9ff3d626f8cfe62b62daa0de01
Stats: 88 lines in 14 files changed: 85 ins; 0 del; 3 mod
8273526: Extend the OSContainer API pids controller with pids.current
Reviewed-by: sgehwolf, iklam
-------------
PR: https://git.openjdk.java.net/jdk/pull/5437
More information about the hotspot-runtime-dev
mailing list