Class GCLogParser

    • Constructor Detail

      • GCLogParser

        public GCLogParser()
    • Method Detail

      • getName

        public abstract String getName()
      • process

        protected abstract void process​(String trace)
      • advanceClock

        protected final void advanceClock​(DateTimeStamp now)
        The assumption is, this method will manage the global clock and thus should never be over ridden
        Parameters:
        now - - DateTimeStamp from the current GC log record
      • publish

        public void publish​(ChannelName channel,
                            JVMEvent event)
        The clock is advanced to the time at the end of the event. The times reported in the GCLog file are "noisy" at best. This hyperactives the clock rollback detection which doesn't allow for slop. To minimize this, the clock only records when a time stamp is presented and isn't advanced to the end of the event except in the case of EOF where the time of JVM termination has not been recorded. In this case, JVMTermination time should advanced to after the previous event has ended.
        Parameters:
        channel -
        event -