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

com/sun/management/OperatingSystemMXBean cpuLoad tests fail intermittently

XMLWordPrintable

      The OperatingSystemMXBean cpuLoad beans sometimes return -1.0. Seen on Windows so far.

      It is needed to investigate if it is OS limitation or VM bug. Then fix VM or update tests to accept some percentage of -1.0 .
      It might be ok if bean returns -1.0 rarely, but test should find cases when OperatingSystemMXBean don't works or have VM bugs.

            kevinw Kevin Walls
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: