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

Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • core-svc


      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:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: