Package org.adoptopenjdk.jitwatch.core

Examples of org.adoptopenjdk.jitwatch.core.HotSpotLogParser


        "0x00007fb5ad0fe96f: hlt " + nmethodTag,
        "<writer thread='140418643298048'/>" };

    Path path = writeLinesToTempFileAndReturnPath(lines);

    ILogParser parser = new HotSpotLogParser(UnitTestUtil.getNoOpJITListener());

    parser.processLogFile(path.toFile(), UnitTestUtil.getNoOpParseErrorListener());

    SplitLog log = parser.getSplitLog();

    assertEquals(15, log.getAssemblyLines().size());
    assertEquals(2, log.getLogCompilationLines().size());
  }
View Full Code Here


        "[Loaded java.lang.reflect.GenericDeclaration from /home/chris/jdk1.9.0/jre/lib/rt.jar]",
        "[Loaded java.lang.reflect.Type from /home/chris/jdk1.9.0/jre/lib/rt.jar]" };

    Path path = writeLinesToTempFileAndReturnPath(lines);

    ILogParser parser = new HotSpotLogParser(UnitTestUtil.getNoOpJITListener());

    parser.processLogFile(path.toFile(), UnitTestUtil.getNoOpParseErrorListener());

    SplitLog log = parser.getSplitLog();

    assertEquals(45, log.getHeaderLines().size());
   
    // <tty> not counted as it envelopes the main XML
    assertEquals(1, log.getLogCompilationLines().size());
    assertEquals(8, log.getClassLoaderLines().size());
   
    assertEquals("org.adoptopenjdk.jitwatch.demo.MakeHotSpotLog", parser.getVMCommand());
  }
View Full Code Here

  private boolean startDelayedByConfig = false;

  // Called by JFX
  public JITWatchUI()
  {
    logParser = new HotSpotLogParser(this);
  }
View Full Code Here

  {
    this.showErrors = showErrors;

    JITWatchConfig config = new JITWatchConfig();

    HotSpotLogParser parser = new HotSpotLogParser(this);
    parser.setConfig(config);

    parser.processLogFile(new File(filename), this);
  }
View Full Code Here

TOP

Related Classes of org.adoptopenjdk.jitwatch.core.HotSpotLogParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.