public interface ThreadDeathEvent extends Event
VirtualMachine.allThreads()
to return this thread
after this event is received.
Note that this event gives no information about the lifetime of the thread object. It may or may not be collected soon depending on what references exist in the target VM.
EventQueue
,
VirtualMachine
,
ThreadReference
Modifier and Type | Method | Description |
---|---|---|
ThreadReference |
thread() |
Returns the thread which is terminating.
|
toString, virtualMachine
ThreadReference thread()
ThreadReference
which mirrors the event's thread in
the target VM. 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, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b148-1