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

[TESTBUG] Increase coverage of the cgroups detection code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      linux

      Description

      With JDK-8253435 and JDK-8252359 some more bugs got discovered in the container detection code: cgroups v1 vs. cgroups v2. For those fixes, regression tests got added for the hotspot code.

      Also, JDK-8217766 got created without a regression test which now should be possible so as to prevent bugs like JDK-8254854.

      We should have proper tests so this doesn't regress some weird corner case in some future refactoring.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: