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

[Metrics] Enhance parsing of cgroup interface files for version detection

    XMLWordPrintable

Details

    • b11
    • linux

    Backports

      Description

        With JDK-8245543 more sophisticated parsing of /proc/self/mountinfo will be necessary so as to not incorrectly instantiate a cgroups v2 object on a cgroups v1 system. With a little bit of extra tracking of controller info it should be possible to do away with reading /proc/self/mountinfo twice and pass the read info to where version specific objects are instantiated. With that the Java side would work similar to the hotspot side of the container code.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: