Java Reference
In-Depth Information
Flag
What it
does
When to use it
See also
for surviv-
or spaces.
The
amount of
free space
the JVM
attempts to
keep in the
survivor
spaces.
Increasing this value reduces the size of the sur-
vivor spaces (and vice versa).
Tenuring
and Surviv-
or Spaces
-XX:TargetSurvivorRatio= N
The initial
number of
GC cycles
the JVM
attempts to
keep an ob-
ject in the
survivor
spaces.
Increase this number to keep objects in the sur-
vivor spaces longer, though be aware that the
JVM will tune it.
Tenuring
and Surviv-
or Spaces
-
XX:InitialTenuringThreshold= N
The max-
imum num-
ber of GC
cycles the
JVM at-
tempts to
keep an ob-
ject in the
survivor
spaces.
Increase this number to keep objects in the sur-
vivor spaces longer; the JVM will tune the actual
threshold between this value and the initial
threshold.
Tenuring
and Surviv-
or Spaces
-XX:MaxTenuringThreshold= N
Search WWH ::




Custom Search