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

Demo: update FullThreadDump demo to use the new Mustang API to get locks info

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: core-svc
    • Labels:

      Description

      A few new methods are added in Mustang to get lock information:
         ThreadMXBean.getAllLockedMonitors();
         ThreadMXBean.getAllLockedSynchronizers();
         ThreadMXBean.findDeadlockedThreads();

      FullThreadDump demo can be updated to print the lock information and where it's acquired.

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: