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

OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows

XMLWordPrintable

        Reported by JMC team

        We are facing an issue with MBean where ProcessCPULoad and CpuLoad values are displayed as -1 which is default value and even after refreshing the values are not getting updated.
        We are using these MBean attributes to display CPU Usage in our application Java Mission Control (JMC). Since the values are always -1 , we are getting a blank dial on our application which is a major issue from JMC perspective.
        We have tried to analyze the issue as per our best understanding. We have identified the attributes were loaded properly till JDK 24 b12 and there is some issue from JDK 24 b13 build onwards.
        We are looking for some help in understanding and fixing the issue.

              lmesnik Leonid Mesnik
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: