| Modifier and Type | Method and Description |
|---|---|
| public ObjectReference | Returns: theObjectReference object for the monitor.Returns the |
| public int | Returns: the stack depth at which this monitor was acquired by the owning thread.Returns the stack depth at which this monitor was acquired by the owning thread. |
| public ThreadReference | Returns: aThreadReference object for the thread that
owns the monitor.Returns a |
| monitor | back to summary |
|---|---|
| public ObjectReference monitor() Returns the
| |
| stackDepth | back to summary |
|---|---|
| public int stackDepth() 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).
| |
| thread | back to summary |
|---|---|
| public ThreadReference thread() Returns a
| |