Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8347811 Container detection code for cgroups v2 should use cgroup.controllers
  3. JDK-8349988

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 21, 24, 25
    • hotspot
    • 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.

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

              Created:
              Updated: