public class CmsSingleThreadDumperThread extends java.lang.Thread
Periodically creates thread dumps for a single thread, saves them zo a ZIP file, and also generates a summary XML files presenting the stack frames with with their sample counts as a tree structure.
Modifier and Type | Class and Description |
---|---|
static class |
CmsSingleThreadDumperThread.SampleNode
Node for the summary tree generated from the thread dumps.
|
Constructor and Description |
---|
CmsSingleThreadDumperThread(java.lang.String filename,
java.lang.String summaryFilename,
long id)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public CmsSingleThreadDumperThread(java.lang.String filename, java.lang.String summaryFilename, long id)
filename
- the name of the zip file to generatesummaryFilename
- the name of the summary file to generateid
- the id of the thread to monitorpublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()