Class JfrConverter

java.lang.Object
one.convert.JfrConverter
Direct Known Subclasses:
JfrToFlame, JfrToHeatmap, JfrToPprof

public abstract class JfrConverter extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • convert

      public void convert() throws IOException
      Throws:
      IOException
    • createCollector

      protected EventCollector createCollector(Arguments args)
    • collectEvents

      protected void collectEvents() throws IOException
      Throws:
      IOException
    • convertChunk

      protected void convertChunk()
    • toThreadState

      protected int toThreadState(String name)
    • getThreadStates

      protected BitSet getThreadStates(boolean cpu)
    • toTicks

      protected long toTicks(long millis)
    • getMethodName

      public String getMethodName(long methodId, byte methodType)
    • getClassName

      public String getClassName(long classId)
    • getStackTraceElement

      public StackTraceElement getStackTraceElement(long methodId, byte methodType, int location)
    • getThreadName

      public String getThreadName(int tid)
    • isNativeFrame

      protected boolean isNativeFrame(byte methodType)
    • getCategory

      public one.convert.Classifier.Category getCategory(StackTrace stackTrace)