RFR: 8264482: container info misleads on non-container environment [v2]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue Apr 6 12:09:28 UTC 2021


On Tue, 6 Apr 2021 10:06:18 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> What I'm unsure about is whether or not this is a problem worth fixing.

I think fundamental solutions will be implemented in JDK-8261242, but It seems to be a difficult task.

> The main idea is abstraction from cgroups in the container code. It does say `container (cgroup) information` in the heading.

I know that, but "container_type" label is in hs_err / VM.info log. In addition, UL reports some metrics as "container" in spite of cgroups.
If it takes a long time to fix JDK-8261242, I want to fix log messages for cgroups for next LTS release at least. "container" messages may make the customer do extra work to collect / analyzer their system.

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

PR: https://git.openjdk.java.net/jdk/pull/3280


More information about the hotspot-runtime-dev mailing list