Change cgroup version detection logic to not depend on /proc/cgroups

XMLWordPrintable

    • b18
    • generic
    • linux

        See JDK-8347811 for the details. The current cgroup version detection logic relies on /proc/cgroups file which cannot be relied on since it depends on the kernel configs in use. Some newer kernels 6.12 and better disable some cgroup v1 configuration and, therefore, have different /proc/cgroups files which breaks detection logic.

              Assignee:
              Severin Gehwolf
              Reporter:
              Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: