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

ThreadMXBean.getCurrentThreadCpuTime() should use the posix clock implementation on Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs10
    • 6
    • hotspot
    • None
    • svc
    • b03
    • generic
    • generic

        In JDK 6 b91, we fixed 6200022 to provide a way to use the Linux Posix thread CPU clock. The CPU time implementation is shared by both JVM TI and java.lang.management. The fix was only made to JVM TI but not java.lang.management. We should make the ise of the Linux Posix thread CPU clock for java.lang.management too.

        The NetBeans profiler is currently using ThreadMXBean (Java API) to get the CPU time.

              sspitsyn Serguei Spitsyn
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: