com.sun.jdi.MonitorInfo |
Known Indirect Subclasses |
Information about a monitor owned by a thread.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the
ObjectReference object for the monitor. | |||||||||||
Returns the stack depth at which this monitor was
acquired by the owning thread.
| |||||||||||
Returns a
ThreadReference object for the thread that
owns the monitor. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.sun.jdi.Mirror
|
Returns the ObjectReference
object for the monitor.
ObjectReference
object for the monitor.InvalidStackFrameException | if the associated stack frame has become invalid. Once the frame's thread is resumed, the stack frame is no longer valid. |
---|
Returns the stack depth at which this monitor was acquired by the owning thread. Returns -1 if the implementation cannot determine the stack depth (e.g., for monitors acquired by JNI MonitorEnter).
InvalidStackFrameException | if the associated stack frame has become invalid. Once the frame's thread is resumed, the stack frame is no longer valid. |
---|
Returns a ThreadReference
object for the thread that
owns the monitor.
ThreadReference
object for the thread that
owns the monitor.InvalidStackFrameException | if the associated stack frame has become invalid. Once the frame's thread is resumed, the stack frame is no longer valid. |
---|