RFR: JDK-8287011: Improve container information [v4]

Matthias Baesken mbaesken at openjdk.java.net
Wed Jun 15 11:37:41 UTC 2022


On Wed, 15 Jun 2022 07:38:40 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> The change adds some potentially interesting cgroup v1 and v2 metrics to hs_err / hs_info files.
>
> Matthias Baesken 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 four additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin/master' into JDK-8287011
>  - handle new cgroupv1 and v2 values in TestMisc
>  - adjust output in os_linux.cpp
>  - JDK-8287011

I introduced a  method  OSContainer::print_version_specific_info, this avoids putting (in some version) unavailable metrics (like the kernel-memory functions) into all cgroups (v1 and v2).

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

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


More information about the hotspot-runtime-dev mailing list