- java.lang.Object
-
- com.microsoft.gctoolkit.parser.GCLogParser
-
- com.microsoft.gctoolkit.parser.PreUnifiedGCLogParser
-
- com.microsoft.gctoolkit.parser.JVMEventParser
-
- All Implemented Interfaces:
ChannelListener<String>,DataSourceChannelListener,DataSourceParser,GenericTokens,JVMPatterns,PreUnifiedTokens,SharedPatterns
public class JVMEventParser extends PreUnifiedGCLogParser implements JVMPatterns
-
-
Field Summary
-
Fields inherited from class com.microsoft.gctoolkit.parser.GCLogParser
diary, END_OF_DATA_SENTINEL, GCID_COUNTER
-
Fields inherited from interface com.microsoft.gctoolkit.parser.GenericTokens
BEFORE_AFTER_CONFIGURED, BEFORE_AFTER_CONFIGURED_PAUSE, BEFORE_CONFIGURED_AFTER_CONFIGURED, BYTES, CHURN, CONCURRENT_TIME, COUNTER, CPU_SUMMARY, DATE, DECIMAL_POINT, DURATION_MS, GC_CAUSE, HEX, INT, INTEGER, MEMORY_SIZE, META_RECORD, OCCUPANCY_CONFIGURED, OCCUPANCY_CONFIGURED_PAUSE, PAUSE_TIME, PERCENTAGE, REAL_NUMBER, REAL_VALUE, SAFE_POINT_CAUSE, TIME, UNITS
-
Fields inherited from interface com.microsoft.gctoolkit.parser.JVMPatterns
APPLICATION_STOP_TIME, APPLICATION_STOP_TIME_WITH_STOPPING_TIME, APPLICATION_TIME, GC_PAUSE_CLAUSE, LEAVING_SAFEPOINT, SAFEPOINT_REGION, SIMPLE_APPLICATION_STOP_TIME, SIMPLE_APPLICATION_TIME, TLAB_CONT, TLAB_START, TLAB_TOTALS, UNIFIED_LOGGING_APPLICATION_STOP_TIME_WITH_STOPPING_TIME, UNIFIED_LOGGING_APPLICATION_TIME, UNIFIED_LOGGING_G1_SAFEPOINT
-
Fields inherited from interface com.microsoft.gctoolkit.parser.PreUnifiedTokens
CLASSPACE_FINAL, CPU_BREAKDOWN, DATE_STAMP, DATE_TIMESTAMP, DATE_TIMESTAMP_RECORD, FINAL_REFERENCE, FRACTIONAL_BEFORE_AFTER_CONFIGURED, FRACTIONAL_MEMORY_SIZE, FULL_GC_PREFIX, GC_PREFIX, JNI_REFERENCE, JNI_REFERENCE_PROCESSING, MEMORY_ADDRESS, MEMORY_POOL_BOUNDS, META_PERM_MEMORY_SUMMARY, METASPACE_FINAL, MS_TIME_STAMP, PERM_RECORD, PHANTOM_REFERENCE, PHANTOM_REFERENCE_PROCESSING, PLAB, PLAB_RECORD, PRECLEAN_REFERENCE_PROCESSING, PRECLEAN_REFERENCE_RECORDS, REFERENCE_PROCESSING_BLOCK, REFERENCE_RECORDS, SOFT_REFERENCE, TIMESTAMP, USED_CAPACITY_COMMITTED_RESERVED, WEAK_REFERENCE
-
Fields inherited from interface com.microsoft.gctoolkit.parser.SharedPatterns
BEFORE_AFTER_CONFIGURED_PAUSE_RULE, CLASS_UNLOADING, CLASS_UNLOADING_BLOCK, MEMORY_SUMMARY_RULE, META_SPACE_RECORD, OCCUPANCY_CONFIGURED_RULE, PERM_SPACE_RECORD, STRING_AND_SYMBOL_SCRUB, STRING_AND_SYMBOL_SCRUB_BLOCK, STRING_TABLE_SCRUB, STRING_TABLE_SCRUB_BLOCK, SYMBOL_TABLE_SCRUB, SYMBOL_TABLE_SCRUB_BLOCK, TENURING_DETAILS, WEAK_REF, WEAK_REF_BLOCK
-
-
Constructor Summary
Constructors Constructor Description JVMEventParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccepts(Diary diary)Set<EventSource>eventsProduced()StringgetName()protected voidprocess(String line)Application stopped time records prior to 7.0 are not timestamped.voidpublishTo(JVMEventChannel bus)-
Methods inherited from class com.microsoft.gctoolkit.parser.GCLogParser
advanceClock, channel, diary, getClock, publish, receive, setClock
-
-
-
-
Method Detail
-
eventsProduced
public Set<EventSource> eventsProduced()
- Specified by:
eventsProducedin interfaceDataSourceParser
-
getName
public String getName()
- Specified by:
getNamein classGCLogParser
-
process
protected void process(String line)
Application stopped time records prior to 7.0 are not timestamped. In those cases one can use Application Run time to reconstruct the timings If Application run time is missing, collect records and estimate run times based on a change in the value of getClock();- Specified by:
processin classGCLogParser
-
accepts
public boolean accepts(Diary diary)
- Specified by:
acceptsin interfaceDataSourceParser
-
publishTo
public void publishTo(JVMEventChannel bus)
- Specified by:
publishToin interfaceDataSourceParser- Overrides:
publishToin classGCLogParser
-
-