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

com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java: java.lang.RuntimeException: Invalid CPU time returned for thread MyThread-5 = -18014398491743952

    Details

      Description

      This has failed once (so far) in the jdk8/b120 linux same-binaries run.

      ----------System.out:(70/2820)----------
      MyThread-1 sum = 6585.077443558612
      MyThread-4 sum = 6590.872579616977
      MyThread-8 sum = 6587.168885520376
      MyThread-5 sum = 6612.965897926128
      MyThread-6 sum = 6596.998813081988
      MyThread-3 sum = 6623.701198832626
      MyThread-9 sum = 6586.862670209803
      MyThread-7 sum = 6592.432864845747
      MyThread-2 sum = 6628.444056009505
      MyThread-0 sum = 6573.805195695362
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      Unexpected exception is thrown.
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:502)
      at ThreadCpuTimeArray$MyThread.run(ThreadCpuTimeArray.java:246)
      MyThread-3 sum = 6585.304241357632
      MyThread-1 sum = 6634.799612424352
      MyThread-7 sum = 6572.066593964942
      MyThread-8 sum = 6614.267224799903
      MyThread-9 sum = 6599.755176235854
      MyThread-5 sum = 6574.959952679535
      MyThread-6 sum = 6605.397529338999
      MyThread-4 sum = 6616.805737917589
      MyThread-0 sum = 6603.097938007536
      MyThread-2 sum = 6616.293023512697
      ----------System.err:(12/671)----------
      java.lang.RuntimeException: Invalid CPU time returned for thread MyThread-5 = -18014398491743952
      at ThreadCpuTimeArray.main(ThreadCpuTimeArray.java:118)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sla Staffan Larsen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: