in analysis/gc-log/src/main/java/org/eclipse/jifa/gclog/parser/PreUnifiedGenerationalGCLogParser.java [232:265]
private static GCEventType getGCEventType(String eventString) {
switch (eventString) {
case "concurrent mode interrupted":
return CMS_CONCURRENT_INTERRUPTED;
case "concurrent mode failure":
return CMS_CONCURRENT_FAILURE;
case "CMS Initial Mark":
return CMS_INITIAL_MARK;
case "CMS-concurrent-mark":
return CMS_CONCURRENT_MARK;
case "CMS-concurrent-preclean":
return CMS_CONCURRENT_PRECLEAN;
case "CMS-concurrent-abortable-preclean":
return CMS_CONCURRENT_ABORTABLE_PRECLEAN;
case "CMS Final Remark":
return CMS_FINAL_REMARK;
case "Rescan":
return CMS_RESCAN;
case "weak refs processing":
return WEAK_REFS_PROCESSING;
case "class unloading":
return CMS_CLASS_UNLOADING;
case "scrub symbol table":
return CMS_SCRUB_SYMBOL_TABLE;
case "scrub string table":
return CMS_SCRUB_STRING_TABLE;
case "CMS-concurrent-sweep":
return CMS_CONCURRENT_SWEEP;
case "CMS-concurrent-reset":
return CMS_CONCURRENT_RESET;
default:
throw new ShouldNotReachHereException();
}
}