Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264482

container info misleads on non-container environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 16, 17
    • hotspot

      hs_err log and `VM.info` dcmd shows cgroup information as container information even though the process run on non-container environment as following.

      ```
      container (cgroup) information:
      container_type: cgroupv2
      cpu_cpuset_cpus: not supported
      cpu_memory_nodes: not supported
      active_processor_count: 4
      cpu_quota: not supported
      cpu_period: not supported
      cpu_shares: not supported
      memory_limit_in_bytes: unlimited
      memory_and_swap_limit_in_bytes: unlimited
      memory_soft_limit_in_bytes: unlimited
      memory_usage_in_bytes: 164163584
      memory_max_usage_in_bytes: not supported
      ```

      We can use cgroup outside of container, so it is useful to show. However cgroup is different from container. We should distinguish them.

            ysuenaga Yasumasa Suenaga
            ysuenaga Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: