Enum Class GarbageCollectionTrigger

java.lang.Object
java.lang.Enum<GarbageCollectionTrigger>
soot.jimple.infoflow.solver.gcSolver.GarbageCollectionTrigger
All Implemented Interfaces:
Serializable, Comparable<GarbageCollectionTrigger>, Constable

public enum GarbageCollectionTrigger extends Enum<GarbageCollectionTrigger>
Possible triggers when to start garbage collection
Author:
Steven Arzt
  • Enum Constant Details

    • Immediate

      public static final GarbageCollectionTrigger Immediate
      Garbage collection is triggered immediately when a new edge has been propagated
    • MethodThreshold

      public static final GarbageCollectionTrigger MethodThreshold
      Start garbage collection after the method threshold has been reached
    • EdgeThreshold

      public static final GarbageCollectionTrigger EdgeThreshold
      Start garbage collection after the edge threshold has been reached
    • Never

      public static final GarbageCollectionTrigger Never
      Compute the thresholds, but never actually gargabe-collect anything. Useful only as a performance baseline.
  • Method Details

    • values

      public static GarbageCollectionTrigger[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GarbageCollectionTrigger valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null