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

Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java

XMLWordPrintable


        test/jdk/java/lang/management/ThreadMXBean/ThreadCpuTime.java
        is similar to ThreadCpuTimeArray.java and can have the same problem, where CPU times are sampled immediately after a thread appearing to be blocked. The same sleep should be added to this test.

              kevinw Kevin Walls
              kevinw Kevin Walls
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: