MaxTenuringThreshold available in ParNewGC?
Kirk Pepperdine
kirk.pepperdine at gmail.com
Wed Jan 11 09:48:36 UTC 2012
CMS is not adaptive. To reconfigure heap, for many reasons, you need a full GC to occur. The response to a concurrent mode failure is always a full GC. That gave the JVM the opportunity to resize heap space. If this behaviour isn't happening when it should or is cause other problems it's time to either set the young gen size directly with NewSize or switch to the parallel collector with the adaptive sizing policy turned on. Logic here is that you want to avoid long pauses, use CMS. If CMS is giving you long pauses, than the parallel collector might be a better choice.
Regards,
Kirk
On 2012-01-11, at 10:32 AM, Li Li wrote:
> after a concurrent mode failure. the young generation changed from about 50MB to 1.8GB
> What's the logic behind this?
>
> 2012-01-10T22:23:54.544+0800: [GC [ParNew: 55389K->6528K(59072K), 0.0175440 secs] 5886124K->5839323K(6195204K), 0.0177480 secs] [Times: user=0.20 sys=0.00, real=0.01 secs]
> 2012-01-10T22:23:54.575+0800: [GC [ParNew: 59072K->6528K(59072K), 0.0234040 secs] 5891867K->5845823K(6201540K), 0.0236070 secs] [Times: user=0.24 sys=0.00, real=0.02 secs]
> 2012-01-10T22:23:54.612+0800: [GC [ParNew (promotion failed): 59072K->58862K(59072K), 2.3119860 secs][CMS2012-01-10T22:23:57.153+0800: [CMS-concurrent-preclean: 10.999/28.245 secs] [Times: user=290.41 sys=4.65, real=28.24 secs]
> (concurrent mode failure): 5841457K->2063142K(6144000K), 8.8971660 secs] 5898367K->2063142K(6203072K), [CMS Perm : 31369K->31131K(52316K)], 11.2110080 secs] [Times: user=11.73 sys=0.51, real=11.21 secs]
> 2012-01-10T22:24:06.125+0800: [GC [ParNew: 1638400K->46121K(1843200K), 0.0225800 secs] 3701542K->2109263K(7987200K), 0.0228190 secs] [Times: user=0.26 sys=0.02, real=0.02 secs]
> 2012-01-10T22:24:06.357+0800: [GC [ParNew: 1684521K->111262K(1843200K), 0.0381370 secs] 3747663K->2174404K(7987200K), 0.0383860 secs] [Times: user=0.44 sys=0.04, real=0.04 secs]
>
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
More information about the hotspot-gc-dev
mailing list