| Modifier and Type | Method | 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. |
toString, virtualMachineObjectReference monitor()
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.ThreadReference.ownedMonitorsAndFrames()int stackDepth()
InvalidStackFrameException - if the associated stack
frame has become invalid. Once the frame's thread is resumed,
the stack frame is no longer valid.ThreadReference.ownedMonitorsAndFrames()ThreadReference thread()
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.ThreadReference.frame(int) Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1999, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2