Class SystemPlume.GcHistoryItem

java.lang.Object
org.plumelib.util.SystemPlume.GcHistoryItem
Enclosing class:
SystemPlume

private static class SystemPlume.GcHistoryItem extends Object
A triple of (timestamp, collection time, subsequent timestamp).
  • Field Details

    • timestamp

      long timestamp
      When the collection happened. An epoch second.
    • collectionTime

      long collectionTime
      The cumulative collection time in milliseconds.
    • subsequentTimestamp

      long subsequentTimestamp
      When the subsequent collection happened. It is 0 until after the subsequent collection occurs. The purpose of this field is to avoid the need for a peek2() method on deque.
  • Constructor Details

    • GcHistoryItem

      GcHistoryItem(long timestamp, long collectionTime)
      Creates a new GcHistoryItem.
      Parameters:
      timestamp - when the collection happened; an epoch second
      collectionTime - the collection time in milliseconds