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

Odd debug output in -Xlog:os+container=debug on certain systems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • master
    • generic
    • linux

      Using a JDK 25+16 build running on Alpine 3.20 with Kernel 6.12+ and with the cgroups service turned on results in the following debug output:

      alpine3:~$ ./jdk-25+16/bin/java -Xlog:os+container=debug --version
      [0.001s][debug][os,container] Detected optional pids controller entry in /proc/cgroups
      [0.001s][debug][os,container] controller cpuset is not enabled
      [ ]
      [0.001s][debug][os,container] controller memory is not enabled
      [ ]
      [0.001s][debug][os,container] One or more required controllers disabled at kernel level.
      openjdk 25-beta 2025-09-16
      OpenJDK Runtime Environment Temurin-25+16-202503272135 (build 25-beta+16-ea)
      OpenJDK 64-Bit Server VM Temurin-25+16-202503272135 (build 25-beta+16-ea, mixed mode, sharing)

      Note the extra empty lines in the trace output. We should fix this.

      Note that the underlying issue of "controller not enabled" messages is fixed with JDK-8349988.

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

              Created:
              Updated:
              Resolved: