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

[Metrics] Container detection code for cgroups v2 should use cgroup.controllers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • core-svc
    • generic
    • linux

      Same issue as JDK-8347811 on the hotspot side, but for Java Metrics classes (Linux specific).

      Metrics implementation is based on cgroups which is created by class CgroupSubsystemFactory which incorrectly uses /proc/cgroups for finding enabled controllers. As a result the version detection scheme might be wrong since the version is detected based on /proc/cgroups which might provide incomplete data.

      We should fix this.

            Unassigned Unassigned
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: