public class MonitorInfoImpl extends MirrorImpl implements MonitorInfo, ThreadListener
| Modifier and Type | Field and Description |
|---|---|
(package private) ObjectReference |
monitor |
(package private) int |
stack_depth |
(package private) ThreadReference |
thread |
vm| Constructor and Description |
|---|
MonitorInfoImpl(VirtualMachine vm,
ObjectReference mon,
ThreadReference thread,
int dpth) |
| Modifier and Type | Method and Description |
|---|---|
ObjectReference |
monitor()
Returns the
ObjectReference object for the monitor. |
int |
stackDepth()
Returns the stack depth at which this monitor was
acquired by the owning thread.
|
ThreadReference |
thread()
Returns a
ThreadReference object for the thread that
owns the monitor. |
boolean |
threadResumable(ThreadAction action) |
equals, hashCode, validateMirror, validateMirrorOrNull, validateMirrors, validateMirrorsOrNulls, virtualMachineclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waittoString, virtualMachineObjectReference monitor
ThreadReference thread
int stack_depth
MonitorInfoImpl(VirtualMachine vm, ObjectReference mon, ThreadReference thread, int dpth)
public boolean threadResumable(ThreadAction action)
threadResumable in interface ThreadListenerpublic ObjectReference monitor()
MonitorInfoObjectReference object for the monitor.monitor in interface MonitorInfoObjectReference object for the monitor.ThreadReference.ownedMonitorsAndFrames()public int stackDepth()
MonitorInfostackDepth in interface MonitorInfoThreadReference.ownedMonitorsAndFrames()public ThreadReference thread()
MonitorInfoThreadReference object for the thread that
owns the monitor.thread in interface MonitorInfoThreadReference object for the thread that
owns the monitor.ThreadReference.frame(int)