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

David Holmes david.holmes at oracle.com
Wed Apr 7 05:00:50 UTC 2021


On 6/04/2021 10:09 pm, Yasumasa Suenaga wrote:
> 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.

Then can we compromise and just say "container/cgroup" everywhere?

David

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


More information about the hotspot-runtime-dev mailing list