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.
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.
- relates to
-
JDK-8350820 OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows
-
- Resolved
-