Class GcEventParser

java.lang.Object
com.helix.profiler.gc.GcEventParser

public class GcEventParser extends Object
Parser for JDK Unified GC log lines (-Xlog:gc*).
  • Constructor Details

    • GcEventParser

      public GcEventParser()
  • Method Details

    • parseLine

      public GcEvent parseLine(String line)
      Parses a single GC log line into a GcEvent.
    • parseMemoryToKb

      public static long parseMemoryToKb(String memoryStr)
      Converts memory strings like "15M", "4096K", "256M", "1G" into Kilobytes (KB).