Package org.adoptopenjdk.jitwatch.model

Examples of org.adoptopenjdk.jitwatch.model.JITStats


 
  public final void redraw()
  {
    obList.clear();
   
    JITStats stats = parent.getJITDataModel().getJITStats();
   
    obList.add(makeRow("Public methods compiled", stats.getCountPublic()));
    obList.add(makeRow("Private methods compiled", stats.getCountPrivate()));
    obList.add(makeRow("Protected methods compiled", stats.getCountProtected()));
    obList.add(makeRow("Static methods compiled", stats.getCountStatic()));
    obList.add(makeRow("Final methods compiled", stats.getCountFinal()));
    obList.add(makeRow("Synchronized methods compiled", stats.getCountSynchronized()));
    obList.add(makeRow("Strictfp methods compiled", stats.getCountStrictfp()));
    obList.add(makeRow("Native methods compiled", stats.getCountNative()));

    obList.add(makeRow("C1 Compiled", stats.getCountC1()));
    obList.add(makeRow("C2 Compiled", stats.getCountC2()));
    obList.add(makeRow("OSR Compiled", stats.getCountOSR()));
    obList.add(makeRow("C2N Compiled", stats.getCountC2N()));
    obList.add(makeRow("Compiler Threads", stats.getCountCompilerThreads()));
   
   
    // * = Only have the queued timestamp and compiled timestamp
    // JIT Time assumes the entire interval was spent compiling
    obList.add(makeRow("Total JIT Time*", stats.getTotalCompileTime()));
   
   
    obList.add(makeRow("Native bytes generated", stats.getNativeBytes()));   

    obList.add(makeRow("Loaded Classes", stats.getCountClass()));   
    obList.add(makeRow("Total Methods Loaded", stats.getCountMethod()));   
    obList.add(makeRow("Total Constructors Loaded", stats.getCountConstructor()));   
  }
View Full Code Here


    }
  }

  private void showStatsLegend(GraphicsContext gc)
  {
    JITStats stats = parent.getJITDataModel().getJITStats();

    StringBuilder compiledStatsBuilder = new StringBuilder();
    compiledStatsBuilder.append("Compiled: ").append(stats.getTotalCompiledMethods());
    compiledStatsBuilder.append(" (C1: ").append(stats.getCountC1()).append(S_CLOSE_PARENTHESES);
    compiledStatsBuilder.append(" (C2: ").append(stats.getCountC2()).append(S_CLOSE_PARENTHESES);
    compiledStatsBuilder.append(" (C2N: ").append(stats.getCountC2N()).append(S_CLOSE_PARENTHESES);
    compiledStatsBuilder.append(" (OSR: ").append(stats.getCountOSR()).append(S_CLOSE_PARENTHESES);
    gc.setStroke(Color.BLACK);
    gc.strokeText(compiledStatsBuilder.toString(), fix(graphGapLeft), fix(12));
  }
View Full Code Here

TOP

Related Classes of org.adoptopenjdk.jitwatch.model.JITStats

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.