| ||||
| Copyright 1999 Sams Publishing |
| | ||
| | |
| Summary |
| | |
| ThreadGroup can help to organize the threads of a VM into groups. In this chapter, I showed you some of the methods that are available to work on thread groups. In particular, the getParent() , getName() , activeCount() , and enumerate() methods of ThreadGroup were used along with the getThreadGroup() method of Thread to produce the data for ThreadViewer . ThreadViewer can be a very useful tool for code development and debugging. |
| | | ||
| Toc | |||