Java Reference
In-Depth Information
Table A-4. Flags for the throughput collector
Flag
What it does
When to use it
See also
Hints to the throughput collector
how long pauses should be; the heap
is dynamically sized to attempt to
meet that goal.
As a first step in tuning the
throughput collector if the
default sizing it calculates
doesn't meet application
goals.
Adaptive and
Static Heap Size
Tuning
-
XX:MaxGCPauseMillis= N
Hints to the throughput collector
how much time you are willing to
spend in GC; the heap is dynamic-
ally sized to attempt to meet that
goal.
As a first step in tuning the
throughput collector if the
default sizing it calculates
doesn't meet application
goals.
Adaptive and
Static Heap Size
Tuning
-XX:GCTimeRatio= N
-XX:-AggressiveHeap Enables a set of tuning flags that are
“optimized” for machines with a
large amount of memory running a
single JVM with a large heap.
It is better not to use this
flag, and instead use specific
flags as necessary.
AggressiveHeap
Search WWH ::




Custom Search