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)
======================================================================