- 
    Enhancement 
- 
    Resolution: Duplicate
- 
     P4 P4
- 
    None
- 
    1.4.2
- 
        x86
- 
        windows_xp
                    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)
======================================================================
            
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)
======================================================================
- duplicates
- 
                    JDK-6215270 API to detect all monitors locked/waited-on by any given thread -           
- Resolved
 
-