Who hates the *Ratio parameters?

Tony Printezis tony.printezis at sun.com
Thu Aug 14 14:40:02 UTC 2008


Ramki,

See below.

Y Srinivas Ramakrishna wrote:
> Hi Tony --
>
>   
>> 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?
>>     
>
> One of the (other) disadvantages (lacking floating point options, do
> we have them now?)
Actually, we do have floating parameters now (I learned something new 
today!). I just checked and also did a quick test to make sure it works; 
it seems to. You can now set something like:

  product(double, SurvivorPercentage, 13.5                             \
          "Percentage of survivor space vs. young generation size")    \

So, the argument that percentages cannot be small enough, if they are 
only up to 1%, goes out of the window.
>  of *Ratio specs was that the the smallest ratio you
> could specify was 1:1. What about allowing percent specs to exceed 100
> in appropriate cases where it might make sense?
>   
Like, for example, application throughput goal to be 150%, right? :-)
> kevlar suit donned :-)
>   
:-)

Tony
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>   

-- 
----------------------------------------------------------------------
| 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-dev mailing list