Enum GarbageCollectorAlgorithm
- java.lang.Object
-
- java.lang.Enum<GarbageCollectorAlgorithm>
-
- com.microsoft.gctoolkit.parser.jvm.GarbageCollectorAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<GarbageCollectorAlgorithm>
public enum GarbageCollectorAlgorithm extends Enum<GarbageCollectorAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMS-XX:+UseConcMarkSweepGCDEFNEW-XX:+UseConcMarkSweepGCG1GC-XX:+UseSerialGCICMS-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalModePARALLELGC-XX:+UseParallelGCPARALLELOLDGC-XX:+UseParallelGC -XX:+UseParallelOldGC
-XX:+UseParallelOldGCPARNEW-XX:+UseConcMarkSweepGC -XX:+UseParNewSERIAL-XX:+UseSerialGCSHENANDOAH-XX:+UseShenandoahGCZGC-XX:+UseZGC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GarbageCollectorAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static GarbageCollectorAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFNEW
public static final GarbageCollectorAlgorithm DEFNEW
-XX:+UseConcMarkSweepGC
-
PARNEW
public static final GarbageCollectorAlgorithm PARNEW
-XX:+UseConcMarkSweepGC -XX:+UseParNew
-
CMS
public static final GarbageCollectorAlgorithm CMS
-XX:+UseConcMarkSweepGC
-
ICMS
public static final GarbageCollectorAlgorithm ICMS
-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
-
PARALLELGC
public static final GarbageCollectorAlgorithm PARALLELGC
-XX:+UseParallelGC
-
PARALLELOLDGC
public static final GarbageCollectorAlgorithm PARALLELOLDGC
-XX:+UseParallelGC -XX:+UseParallelOldGC
-XX:+UseParallelOldGC
-
SERIAL
public static final GarbageCollectorAlgorithm SERIAL
-XX:+UseSerialGC
-
G1GC
public static final GarbageCollectorAlgorithm G1GC
-XX:+UseSerialGC
-
ZGC
public static final GarbageCollectorAlgorithm ZGC
-XX:+UseZGC
-
SHENANDOAH
public static final GarbageCollectorAlgorithm SHENANDOAH
-XX:+UseShenandoahGC
-
-
Method Detail
-
values
public static GarbageCollectorAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GarbageCollectorAlgorithm c : GarbageCollectorAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GarbageCollectorAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-