Class AbortablePreClean

  • All Implemented Interfaces:
    CMSPhase

    public class AbortablePreClean
    extends CMSConcurrentEvent
    CMS phase to put time between the InitialMark and the Remark phase. Abortable when time or space thresholds are met.
    • Constructor Detail

      • AbortablePreClean

        public AbortablePreClean​(DateTimeStamp timeStamp,
                                 double duration,
                                 double cpuTime,
                                 double wallClockTime,
                                 boolean abortDueToTime)
        Parameters:
        timeStamp - time of event start
        duration - how long the event lasted
        cpuTime - CPU consumption time
        wallClockTime - real time
        abortDueToTime - was this phase aborted due to time
    • Method Detail

      • isAbortedDueToTime

        public boolean isAbortedDueToTime()
        Was the event aborted due to a timeout
        Returns:
        true is event was aborted due to a timeout (2 minutes by default).