|
|
|
|
|
by mike_hearn
3784 days ago
|
|
The G1 collector has a single knob that is supposed to be a master knob: you pick your pause time goal. Lower means shorter pauses but overall more CPU time spent on collection. Higher means longer pauses but less time spent on collection and thus more CPU time spent on your app. Batch job? Give it a high goal. Latency sensitive game or server? Give it a low goal. There are many other flags too, and you can tune them if you want to squeeze more performance out of your system, but you don't have to use them if you don't want to. |
|