Who hates the *Ratio parameters?

Michael Finocchiaro michael.finocchiaro at gmail.com
Wed Aug 13 12:26:09 PDT 2008


I don't mind the ratio but there is some inconsistency perhaps since  
some things are ratios and some are percent (the defunct - 
XX:MaxLiveObjectEvacuationRatio for example). I kinda got used to the  
ratio but could understand that it is not easy to calculate. Perhaps  
rather than being the ratio of To to Eden, it could be given as the To 
+From as a portion of New or else as you said, a percentage. Problem  
though is that CMS automagically sets SurvivorRatio=1024 and that  
particular number would be hard to program into a 2 digit percentage...
My 2 cents,
Fino
On Aug 13, 2008, at 9:07 PM, Tony Printezis wrote:

> Hi all,
>
> I personally don't like the *Ratio parameters (e.g.,
> -XX:SurvivorRatio=<N>) as I don't think they are very intuitive to  
> set.
> I've heard the same from a few customers too. Would most people prefer
> parameters based on percentages (e.g., -XX:SurvivorPerc=<N>, where 0  
> <=
> <N> <= 100) instead?
>
> Tony
>
> -- 
> ----------------------------------------------------------------------
> | Tony Printezis, Staff Engineer    | Sun Microsystems Inc.          |
> |                                   | MS BUR02-311                   |
> | e-mail: tony.printezis at sun.com    | 35 Network Drive               |
> | office: +1 781 442 0998 (x20998)  | Burlington, MA01803-0902, USA  |
> ----------------------------------------------------------------------
> e-mail client: Thunderbird (Solaris)
>
>
> _______________________________________________
> 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-use mailing list