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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 17
    • Component/s: core-svc
    • Labels:
    • Resolved In Build:
      b11
    • OS:
      linux

      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

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

                Dates

                Created:
                Updated:
                Resolved: