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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs10
    • Affects Version/s: 6
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: