Enum Class GarbageCollectionTrigger
java.lang.Object
java.lang.Enum<GarbageCollectionTrigger>
soot.jimple.infoflow.solver.gcSolver.GarbageCollectionTrigger
- All Implemented Interfaces:
Serializable,Comparable<GarbageCollectionTrigger>,Constable
Possible triggers when to start garbage collection
- Author:
- Steven Arzt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStart garbage collection after the edge threshold has been reachedGarbage collection is triggered immediately when a new edge has been propagatedStart garbage collection after the method threshold has been reachedCompute the thresholds, but never actually gargabe-collect anything. -
Method Summary
Modifier and TypeMethodDescriptionstatic GarbageCollectionTriggerReturns the enum constant of this class with the specified name.static GarbageCollectionTrigger[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Immediate
Garbage collection is triggered immediately when a new edge has been propagated -
MethodThreshold
Start garbage collection after the method threshold has been reached -
EdgeThreshold
Start garbage collection after the edge threshold has been reached -
Never
Compute the thresholds, but never actually gargabe-collect anything. Useful only as a performance baseline.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-