Class HotSpotLogParser
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.parser.AbstractLogParser
-
- org.adoptopenjdk.jitwatch.parser.hotspot.HotSpotLogParser
-
- All Implemented Interfaces:
ILogParser
public class HotSpotLogParser extends AbstractLogParser
-
-
Field Summary
-
Fields inherited from class org.adoptopenjdk.jitwatch.parser.AbstractLogParser
config, currentCompilerThread, currentMember, errorDialogBody, errorDialogTitle, errorListener, hasParseError, inHeader, jitListener, logger, model, parseLineNumber, processLineNumber, reading, splitLog, tagProcessor, vmCommand
-
-
Constructor Summary
Constructors Constructor Description HotSpotLogParser(IJITListener jitListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidbuildClassModel()private voidbuildClassModel(java.lang.String inCurrentLine)private voidbuildParsedClasspath()private voidbuildParsedClasspath(java.lang.String inCurrentLine)private voidcheckIfErrorDialogNeeded()private longgetBaseTimestamp(java.lang.String line)private voidhandleLogLine(java.lang.String inCurrentLine)private voidhandleStartCompileThread(Tag tag)protected voidhandleTag(Tag tag)private voidhandleTagVmArguments(Tag tag)private voidhandleVmVersion(Tag tag)private voidhandleWriterThread(Tag tag)private voidparseAssemblyLines()private voidparseHeaderLines()private voidparseLogCompilationLines()protected voidparseLogFile()private booleanskipLine(java.lang.String line, java.util.Set<java.lang.String> skipSet)protected voidsplitLogFile(java.io.Reader hotspotLogReader)-
Methods inherited from class org.adoptopenjdk.jitwatch.parser.AbstractLogParser
addToClassModel, configureDisposableClassLoader, discardParsedLogs, findMemberWithSignature, getConfig, getModel, getParsedClasspath, getSplitLog, getVMCommand, handleTagNMethod, handleTagQueued, handleTagTask, handleTaskDone, hasParseError, logError, logEvent, processLogFile, reset, setConfig, setTagNMethod, setTagTask, setTagTaskQueued, stopParsing, storeCodeCacheEvent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adoptopenjdk.jitwatch.parser.ILogParser
processLogFile
-
-
-
-
Constructor Detail
-
HotSpotLogParser
public HotSpotLogParser(IJITListener jitListener)
-
-
Method Detail
-
checkIfErrorDialogNeeded
private void checkIfErrorDialogNeeded()
-
parseHeaderLines
private void parseHeaderLines()
-
getBaseTimestamp
private long getBaseTimestamp(java.lang.String line)
-
parseLogFile
protected void parseLogFile()
- Specified by:
parseLogFilein classAbstractLogParser
-
parseLogCompilationLines
private void parseLogCompilationLines()
-
parseAssemblyLines
private void parseAssemblyLines()
-
splitLogFile
protected void splitLogFile(java.io.Reader hotspotLogReader)
- Specified by:
splitLogFilein classAbstractLogParser
-
skipLine
private boolean skipLine(java.lang.String line, java.util.Set<java.lang.String> skipSet)
-
handleLogLine
private void handleLogLine(java.lang.String inCurrentLine)
-
handleTag
protected void handleTag(Tag tag)
- Specified by:
handleTagin classAbstractLogParser
-
handleVmVersion
private void handleVmVersion(Tag tag)
-
handleTagVmArguments
private void handleTagVmArguments(Tag tag)
-
handleWriterThread
private void handleWriterThread(Tag tag)
-
handleStartCompileThread
private void handleStartCompileThread(Tag tag)
-
buildParsedClasspath
private void buildParsedClasspath()
-
buildClassModel
private void buildClassModel()
-
buildParsedClasspath
private void buildParsedClasspath(java.lang.String inCurrentLine)
-
buildClassModel
private void buildClassModel(java.lang.String inCurrentLine)
-
-