Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8302716 Cgroups : detection logic broken on systems with v1 controllers
  3. JDK-8302796

Release Note: JVM May Fail to Initialize On Some cgroups v1 Systems

    XMLWordPrintable

Details

    Description

      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 where it incorrectly detects a cgroup v1 system, having no mounted controllers, as a cgroup v2 system.

      A fix is available via the 8u361 b32 BPR available on My Oracle Support (see KM: Doc ID 2923131.1).

      Attachments

        Activity

          People

            ibereziuk Ivan Bereziuk
            scfitch Stephen Fitch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: