<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Tony-<br>
<br>
In the grand scheme of things though, it would be better if we could
figure these out automatically and not need the parameter at all.<br>
<br>
-John<br>
</font><br>
Tony Printezis wrote:
<blockquote cite="mid:48A3361C.3070105@sun.com" type="cite">
  <pre wrap="">Paul,

Paul Hohensee wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I would.  I'd use "SurvivorPercent" though, not "SurvivorPerc".  The 
latter
sounds like a bonus you get for surviving. :)
    </pre>
  </blockquote>
  <pre wrap=""><!---->I was trying to be a be concise, but sure Percent is fine.
  </pre>
  <blockquote type="cite">
    <pre wrap="">Or maybe just add "SurvivorSize" and "MaxSurvivorSize", like we have
"NewSize" and "MaxNewSize".  That'd be exact, unlike either a percent
or a ratio.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Well, the problem with using specific sizes is that, if you resize your 
young gen (in this case), the survivor size will also have to change. 
Maybe, using percentages will handle that case a bit better (even though 
I can think of some cases when you want to fix the survivor size but 
maybe vary the eden size).
  </pre>
  <blockquote type="cite">
    <pre wrap="">btw, we seem to use the term "Ratio" to mean both a genuine ratio _and_ a
percent.  E.g., "SurvivorRatio" is a genuine ratio, but 
"MinHeapFreeRatio"
is a percent.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Yep. Unfortunately, we cannot change the meaning of MinHeapFreeRatio (to 
keep backwards compatibility). So, maybe, it'd be best to introduce a 
new parameter, say MinHeapFreePercent, with the same semantics as 
MinHeapFreeRatio, as a way to start migrating users to the correct one.

Tony
  </pre>
  <blockquote type="cite">
    <pre wrap="">Tony Printezis wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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

  
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>