GC algorithms
Bernd Eckenfels
bernd.eckenfels at googlemail.com
Sun Mar 17 07:04:33 PDT 2013
Hello,
Am 17.03.2013 um 12:54 schrieb luke <luke.bike at gmail.com>:
> I have to improve performance on an application running on
You first need to specify what performance improvements mean (more throughput, less overhead, shorter or more consisten Pause times) then you can better chose a GC strategy.
You also should device a test benchmark where you can measure if your new goals are meet.
You also need to consider different aspects and phases of your application life cycle - do they all put the same pressure on the memory?
And finally a Verbose GC log file would help to analyze your system. But with 97% throughout, there is a bit to improve, but certainly not a large breakthrough.
How many Logical CPUs does your Server have, how many RAM, what is the memory footprint of the app - those are typical questions which help you with the decision.
I think there is typically only the parallel GC, the low pause GC and G1. You can try all 3. But if you not care about pause times you might have chosen the best setting already.
Bernd
More information about the hotspot-gc-use
mailing list