Module openj9.dtfj

Class ThreadSectionParser

All Implemented Interfaces:
ISectionParser, ICommonTypes, IThreadTypes

public class ThreadSectionParser extends SectionParser implements IThreadTypes
Parse the thread section. This has details of all the threads, including Java and native stack traces.
  • Constructor Details

    • ThreadSectionParser

      public ThreadSectionParser()
  • Method Details

    • topLevelRule

      protected void topLevelRule() throws ParserException
      Description copied from class: SectionParser
      Must be implemented by subclass.
      Specified by:
      topLevelRule in class SectionParser
      Throws:
      ParserException
    • currentThreadInfoSubsection

      protected void currentThreadInfoSubsection() throws ParserException
      current_thread_info := CURRENT_THREAD_INFO_SUBSECTION thread_info_section | CURRENT_THREAD_INFO_SUBSECTION

      This implementation allows for the parsing process to continue even after errors are caught. See the error handler for more information.
      Parameters:
      scanner -
      Throws:
      ParserException
      See Also:
    • allThreadInfoSubsection

      protected void allThreadInfoSubsection() throws ParserException
      Parameters:
      scanner -
      Throws:
      ParserException
    • threadInfo

      protected void threadInfo(boolean buildModel, boolean currentThread) throws ParserException
      Parameters:
      buildModel - true if data parsed should be added into the builder.
      currentThread - This is the current thread
      Throws:
      ParserException
    • processThreadandStackTrace

      protected int processThreadandStackTrace(IAttributeValueMap javaThreadResults, boolean buildModel, boolean currentThread, int currentLineNumber) throws ParserException
      Parameters:
      javaThreadResults -
      buildModel -
      currentThread - Is this the current thread?
      currentLineNumber -
      Returns:
      updated line number
      Throws:
      ParserException
    • sovOnlyRules

      protected void sovOnlyRules(String startingTag) throws ParserException
      Specified by:
      sovOnlyRules in class SectionParser
      Parameters:
      startingTag -
      Throws:
      ParserException