Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226575 OperatingSystemMXBean should be made container aware
  3. JDK-8236876

Release Note: OperatingSystemMXBean Methods Inside a Container Return Container Specific Data

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Delivered
    • P4
    • 14
    • 8u261, 11.0.8-oracle, 14
    • core-svc

    Backports

      Description

        When executing in a container, or other virtualized operating environment, the following `OperatingSystemMXBean` methods in this release return container specific information, if available. Otherwise, they return host specific data:

        - `getFreePhysicalMemorySize()`
        - `getTotalPhysicalMemorySize()`
        - `getFreeSwapSpaceSize()`
        - `getTotalSwapSpaceSize()`
        - `getSystemCpuLoad()`

        Attachments

          Issue Links

            Activity

              People

                cwayne Clifford Wayne (Inactive)
                dtitov Daniil Titov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: