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

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 8u261, 11.0.8-oracle, 14
    • Fix Version/s: 14
    • Component/s: 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

                Assignee:
                dtitov Daniil Titov (Inactive)
                Reporter:
                dtitov Daniil Titov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: