Class CmsSingleThreadDumperThread

  • All Implemented Interfaces:

    public class CmsSingleThreadDumperThread
    extends java.lang.Thread
    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

      Nested Classes 
      Modifier and Type Class Description
      static class  CmsSingleThreadDumperThread.SampleNode
      Node for the summary tree generated from the thread dumps.
      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

    • Constructor Summary

      Constructor Description
      CmsSingleThreadDumperThread​(java.lang.String filename, java.lang.String summaryFilename, long id)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CmsSingleThreadDumperThread

        public CmsSingleThreadDumperThread​(java.lang.String filename,
                                           java.lang.String summaryFilename,
                                           long id)
        Creates a new instance.

        filename - the name of the zip file to generate
        summaryFilename - the name of the summary file to generate
        id - the id of the thread to monitor
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        run in class java.lang.Thread
        See Also: