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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-svc

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: