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

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

        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()`

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

                Created:
                Updated:
                Resolved: