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

com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed with CPU time out of expected range

XMLWordPrintable

        ----------System.out:(12/487)----------
        MyThread-2 sum = 6602.200201041223
        MyThread-3 sum = 6618.625313782912
        MyThread-6 sum = 6578.247903583709
        MyThread-9 sum = 6599.01888473763
        MyThread-0 sum = 6588.522339017644
        MyThread-7 sum = 6618.768199115118
        MyThread-4 sum = 6589.897516331733
        MyThread-8 sum = 6639.660424393658
        MyThread-1 sum = 6602.565830363151
        MyThread-5 sum = 6567.752610131038
        MyThread-0 Previous Cpu Time = 24530480 Current CPU time = 24530480
        MyThread-0 Previous User Time = 20000000 Current User time = 20000000
        ----------System.err:(11/841)----------
        java.lang.RuntimeException: TEST FAILED: MyThread-1 CPU time = 25027680 previous CPU time 24960960 out of expected range
        at ThreadCpuTimeArray.main(ThreadCpuTimeArray.java:146)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)


        The test is being run with -XX:+UseSerialGC

              kevinw Kevin Walls
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: