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

XMLWordPrintable

    • b19
    • 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.

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

                Created:
                Updated:
                Resolved: