Class JfrConverter
java.lang.Object
one.convert.JfrConverter
- Direct Known Subclasses:
JfrToFlame,JfrToHeatmap,JfrToPprof
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Argumentsprotected final EventCollectorprotected final JfrReaderprotected Dictionary<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidconvert()protected voidprotected EventCollectorcreateCollector(Arguments args) one.convert.Classifier.CategorygetCategory(StackTrace stackTrace) getClassName(long classId) getMethodName(long methodId, byte methodType) getStackTraceElement(long methodId, byte methodType, int location) getThreadName(int tid) protected BitSetgetThreadStates(boolean cpu) protected booleanisNativeFrame(byte methodType) protected inttoThreadState(String name) protected longtoTicks(long millis)
-
Field Details
-
jfr
-
args
-
collector
-
methodNames
-
-
Constructor Details
-
JfrConverter
-
-
Method Details
-
convert
- Throws:
IOException
-
createCollector
-
collectEvents
- Throws:
IOException
-
convertChunk
protected void convertChunk() -
toThreadState
-
getThreadStates
-
toTicks
protected long toTicks(long millis) -
getMethodName
-
getClassName
-
getStackTraceElement
-
getThreadName
-
isNativeFrame
protected boolean isNativeFrame(byte methodType) -
getCategory
-