public static enum MemoryManager.Collector extends java.lang.Enum<MemoryManager.Collector>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
collectorName
The collector name.
|
int |
defaultInitiatingOccupancyFaction
The default initiating faction of the heap.
|
int |
defaultResercePercent
G1 has a reserve percent of 10 by default.
|
java.lang.String |
initiatingHeapOccupancyPercentArgument |
java.lang.String |
oldGenerationPoolName
The old generation pool name.
|
java.lang.String |
reservePercentArgument
The command line argument to define the reserve percent.
|
Modifier and Type | Method and Description |
---|---|
static MemoryManager.Collector |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MemoryManager.Collector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryManager.Collector SERIAL
public static final MemoryManager.Collector PS
public static final MemoryManager.Collector CMS
public static final MemoryManager.Collector G1
public final java.lang.String collectorName
public final java.lang.String oldGenerationPoolName
public final int defaultInitiatingOccupancyFaction
public final java.lang.String initiatingHeapOccupancyPercentArgument
public final java.lang.String reservePercentArgument
public final int defaultResercePercent
public static MemoryManager.Collector[] values()
for (MemoryManager.Collector c : MemoryManager.Collector.values()) System.out.println(c);
public static MemoryManager.Collector valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.