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

Thomas Stuefe stuefe at openjdk.java.net
Thu Jun 16 05:57:04 UTC 2022


On Wed, 15 Jun 2022 11:37:36 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 incrementally with one additional commit since the last revision:
> 
>   Introduce print_version_specific_info

src/hotspot/os/linux/osContainer_linux.hpp line 48:

> 46:   static void print_version_specific_info(outputStream* st);
> 47:   static void print_container_helper(outputStream* st, jlong j, const char* metrics);
> 48: 

hpp file needs forward declaration of outputStream now, or include ostream.hpp, otherwise you break files that include this header but not ostream.

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

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


More information about the hotspot-runtime-dev mailing list