Need API to find out which thread has a specific monitor locked

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.2
    • Component/s: core-svc

      Name: rmT116609 Date: 08/02/2004


      A DESCRIPTION OF THE REQUEST :
      The current API allows one to check if the current Thread holds a specific lock (Thread.holdsLock()) but what is needed is a programmatic way to determine: "if this object is locked, who holds it's lock?"

      If the object is not locked, return null, otherwise return the Thread holding the lock.

      JUSTIFICATION :
      Currently there is no way to programmatically retrieve this kind of deadlock information on a remote/head-less JVM.
      (Incident Review ID: 290569)
      ======================================================================

            Assignee:
            Unassigned
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: