Uses of Interface
com.sun.jdi.ThreadReference
Package
Description
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
This package defines JDI events and event processing.
This package is used to request that a JDI
event be sent under specified conditions.
-
Uses of ThreadReference in com.sun.jdi
Modifier and TypeMethodDescriptionObjectReference.owningThread()
Returns aThreadReference
for the platform thread, if any, which currently owns this object's monitor.MonitorInfo.thread()
Returns aThreadReference
object for the thread that owns the monitor.StackFrame.thread()
Returns the thread under which this frame's method is running.Modifier and TypeMethodDescriptionVirtualMachine.allThreads()
Returns a list of the live threads in the target VM.ThreadGroupReference.threads()
Returns a List containing aThreadReference
for each live platform thread in this thread group.ObjectReference.waitingThreads()
Returns a List containing aThreadReference
for each platform thread currently waiting for this object's monitor.Modifier and TypeMethodDescriptionClassType.invokeMethod
(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specified staticMethod
in the target VM.default Value
InterfaceType.invokeMethod
(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specified staticMethod
in the target VM.ObjectReference.invokeMethod
(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specifiedMethod
on this object in the target VM.ClassType.newInstance
(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Constructs a new instance of this type, using the given constructorMethod
in the target VM. -
Uses of ThreadReference in com.sun.jdi.event
Modifier and TypeMethodDescriptionClassPrepareEvent.thread()
Returns the thread in which this event has occurred.LocatableEvent.thread()
Returns the thread in which this event has occurred.MonitorContendedEnteredEvent.thread()
Returns the thread in which this event has occurred.MonitorContendedEnterEvent.thread()
Returns the thread in which this event has occurred.MonitorWaitedEvent.thread()
Returns the thread in which this event has occurred.MonitorWaitEvent.thread()
Returns the thread in which monitor wait event has occurred.ThreadDeathEvent.thread()
Returns the thread which is terminating.ThreadStartEvent.thread()
Returns the thread which has started.VMStartEvent.thread()
Returns the initial thread of the VM which has started. -
Uses of ThreadReference in com.sun.jdi.request
Modifier and TypeMethodDescriptionvoid
BreakpointRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
ExceptionRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MethodEntryRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MethodExitRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MonitorContendedEnteredRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MonitorContendedEnterRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MonitorWaitedRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
MonitorWaitRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
ThreadDeathRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
ThreadStartRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.void
WatchpointRequest.addThreadFilter
(ThreadReference thread) Restricts the events generated by this request to those in the given thread.EventRequestManager.createStepRequest
(ThreadReference thread, int size, int depth) Creates a new disabledStepRequest
.