Java Reference
In-Depth Information
Flag
What it
does
When to use it
See also
indicates
the size of
each logfile
before ro-
tating it.
When set,
the JVM
will resize
various
heap sizes
to attempt
to meet GC
goals.
Turn this off if the heap sizes have been finely
tuned.
Adaptive
Sizing
-XX:+UseAdaptiveSizePolicy
-XX:+PrintAdaptiveSizePolicy Adds in-
formation
about how
generations
are resized
to the GC
log.
Use this flag to gain an understanding of how the
JVM is operating. When using G1, check this out-
put to see if full GCs are triggered by humongous
object allocation.
Adaptive
Sizing
Adds ten-
uring in-
formation
to the GC
logs.
Use the tenuring information to determine if and
how the tenuring options should be adjusted.
Tenuring
and Surviv-
or Spaces
-
XX:+PrintTenuringDistribution
Sets the
amount of
the young
generation
set aside
for surviv-
or spaces.
Increase this if short-lived objects are being pro-
moted into the old generation too frequently.
Tenuring
and Surviv-
or Spaces
-XX:InitialSurvivorRatio= N
Sets the ad-
aptive
amount of
the young
generation
set aside
Decreasing this values reduces the maximum size
of the survivor spaces (and vice versa).
Tenuring
and Surviv-
or Spaces
-XX:MinSurvivorRatio= N
Search WWH ::




Custom Search