Package org.opencms.main
Class CmsSingleThreadDumperThread
java.lang.Object
java.lang.Thread
org.opencms.main.CmsSingleThreadDumperThread
- All Implemented Interfaces:
Runnable
Profiling thread used for the startup process.
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Node for the summary tree generated from the thread dumps.Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionCmsSingleThreadDumperThread
(String filename, String summaryFilename, long id) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
CmsSingleThreadDumperThread
Creates a new instance.- Parameters:
filename
- the name of the zip file to generatesummaryFilename
- the name of the summary file to generateid
- the id of the thread to monitor
-
-
Method Details