JEP 141: Increase the Client VM's Default Heap Size
kirk at kodewerk.com
Wed Feb 22 20:20:37 PST 2012
> What would be interesting is a flag which specifies a range. For example -Xmx1g_2g. This would tell the JVM to take 2g if possible and scale down to 1g if not.
Current tuning strategy is to use -Xms1g -Xmx2g with parallel collectors as these will adapt. Unfortunately CMS doesn't resize and a Concurrent Mode Failure always happens under conditions where a reduction in size would not be warranted so..
More information about the hotspot-gc-dev