APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.jdi

public Class MonitorInfoImpl

extends MirrorImpl
implements MonitorInfo, ThreadListener
Class Inheritance
All Implemented Interfaces
com.sun.tools.jdi.ThreadListener, java.util.EventListener, com.sun.jdi.MonitorInfo, com.sun.jdi.Mirror
Imports
com.sun.jdi.InternalException, .InvalidStackFrameException, .MonitorInfo, .ObjectReference, .ThreadReference, .VirtualMachine

Field Summary

Modifier and TypeField and Description
private boolean
pack-priv ObjectReference
pack-priv int
pack-priv ThreadReference
Inherited from com.sun.tools.jdi.MirrorImpl:
vm

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ObjectReference
monitor()

Implements com.sun.jdi.MonitorInfo.monitor.

Returns the ObjectReference object for the monitor.

public int
stackDepth()

Implements com.sun.jdi.MonitorInfo.stackDepth.

Returns the stack depth at which this monitor was acquired by the owning thread.

public ThreadReference
thread()

Implements com.sun.jdi.MonitorInfo.thread.

Returns a ThreadReference object for the thread that owns the monitor.

public boolean
private void
Inherited from com.sun.tools.jdi.MirrorImpl:
equalshashCodevalidateMirrorvalidateMirrorOrNullvalidateMirrorsvalidateMirrorsOrNullsvirtualMachine

Field Detail

isValidback to summary
private boolean isValid
monitorback to summary
pack-priv ObjectReference monitor
stack_depthback to summary
pack-priv int stack_depth
threadback to summary
pack-priv ThreadReference thread

Constructor Detail

MonitorInfoImplback to summary
pack-priv MonitorInfoImpl(VirtualMachine vm, ObjectReference mon, ThreadReferenceImpl thread, int dpth)

Method Detail

monitorback to summary
public ObjectReference monitor()

Implements com.sun.jdi.MonitorInfo.monitor.

Doc from com.sun.jdi.MonitorInfo.monitor.

Returns the ObjectReference object for the monitor.

stackDepthback to summary
public int stackDepth()

Implements com.sun.jdi.MonitorInfo.stackDepth.

Doc from com.sun.jdi.MonitorInfo.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).

threadback to summary
public ThreadReference thread()

Implements com.sun.jdi.MonitorInfo.thread.

Doc from com.sun.jdi.MonitorInfo.thread.

Returns a ThreadReference object for the thread that owns the monitor.

threadResumableback to summary
public boolean threadResumable(ThreadAction action)

Implements com.sun.tools.jdi.ThreadListener.threadResumable.

validateMonitorInfoback to summary
private void validateMonitorInfo()