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)
----------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)
- relates to
-
JDK-8235522 Monitoring API should distinguish the cases when the metrics are unavailable vs error cases
-
- Open
-