Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350820 OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows
  3. JDK-8350929

Release Note: OperatingSystemMXBean CpuLoad() Methods Return -1.0 on Windows

XMLWordPrintable

      On Windows, the `OperatingSystemMXBean` CPU load methods, such as `getSystemCpuLoad`, `getCpuLoad`, and `getProcessCpuLoad`, always return -1. This error affects CPU usage monitoring of Windows targets.

      This issue was introduced during JDK 24 development. It does not affect earlier releases. It was found too late to be fixed in JDK 24, but will be resolved in an update release.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: