Avoiding the Young Generation Guarantee

Y Srinivas Ramakrishna Y.S.Ramakrishna at Sun.COM
Mon Mar 10 19:23:42 UTC 2008


-XX:+HandlePromotionFailure should allow you to circumvent the pessimal guarantee.
(AFAIR, that was made the default behaviour in 6.0, but was not in 5.0, unless
you also used the CMS collector; but the history is a bit vague in my mind,
so you should of course check this rather than take my word for it.)

-- ramki

----- Original Message -----
From: Alex Aisinzon <aaisinzon at guidewire.com>
Date: Monday, March 10, 2008 11:50 am
Subject: Avoiding the Young Generation Guarantee
To: hotspot-gc-use at openjdk.java.net


> All
> 
>  
> 
> Our application scales very well when more memory is allocated to it.
> 
> The Young Generation Guarantee limits that scalability as it forces Full
> GC while plenty of space is still available in the tenured space.
> 
> That guarantee forces us to use relatively smaller nurseries.
> 
>  
> http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.0.%20Young
> %20Generation%20Guarantee%7Coutline infers that this guarantee only
> applies to the serial collector but I see it too with the parallel new
> collector.
> 
> Maybe I am confused in the collector terminology.
> 
> Could someone tell me how I can disable the young generation guarantee?
> 
>  
> 
> Thanks in advance
> 
>  
> 
> Alex A
> 
>  
> 
> I have enclosed a snippet of the GC logs for analysis purposes.
> 
> _______________________________________________
> 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