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

Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java fails on Mac OS

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 13, 14
    • Fix Version/s: tbd
    • Component/s: core-svc

      Description

              GetProcessCpuLoad
      ----------System.err:(12/785)----------
      java.lang.RuntimeException: getProcessCpuLoad() returns -3.4062650458884083E-4 which is not in the [0.0,1.0] interval
      at GetProcessCpuLoad.main(GetProcessCpuLoad.java:43)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:835)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dholmes David Holmes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: