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

Cgroups : detection logic broken on systems with v1 controllers

XMLWordPrintable

      After updating to JDK 8u361, applications may fail to start, with multiple Exceptions being thrown, ultimately identified by a java.lang.ArrayIndexOutOfBoundsException occurring at jdk.internal.platform.cgroupv2.CgroupV2Subsystem.initSubsystem.

      The JVM will fail to initialize on Linux systems where /proc/self/mountinfo does not contain any mounted filesystem or controllers for cgroups. This failure occurs due to a faulty detection logic in the JVM where it incorrectly detects a cgroup v1 system, having no mounted controllers, as a cgroup v2 system.

            ibereziuk Ivan Bereziuk
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: