option combinations

Victor Cheung VictorC at ganz.com
Sun Dec 14 07:51:40 PST 2008


Regarding sizing the young generation, I seem to remember reading that the order the options are defined matters, and that the last one defined wins...  so if you had "-Xmn=256m -XX:NewRatio=3 -XX:NewSize=128m" the winner is 128m.  Can anyone confirm this?  (if this is not true, then what is the overriding order of these options to set the young generation size?)

incidentally, are there more ways to set the young generation size?

victor

________________________________________
From: Michael Finocchiaro [michael.finocchiaro at gmail.com]
Sent: Sunday, December 14, 2008 2:48 AM
To: Y Srinivas Ramakrishna
Cc: Victor Cheung; hotspot-gc-use at openjdk.java.net
Subject: Re: option combinations

I have found that NewRatio is overridden by almost any other flag and
that it is recommended to use Xmn instead.
Also beware that CMS will set SurvivorRatio=1024 but that you can
specify SurvivorRatio explicitly to override this.
All ParNewGC/CMS flags are unique to the low-pause collector (same
goes for ParallelGC/ParallelOldGC for the throughout collector) except
as Ramki said ParallelGCThreads.
I think that Java6 gave us control for the CMSThreads or am I mistaken?
Cheers,
Fino

Sent from Fino's iPhone 3G

On 14 déc. 08, at 08:40, Y Srinivas Ramakrishna
<Y.S.Ramakrishna at Sun.COM> wrote:

>
>> i can't seem to find a comprehensive listing or matrix of which
>> options are valid with each other.
>>
>> does anyone know of such information?
>
> Unfortunately, no such documentation exists, as far as i know.
>
> If you have questions about specific combinations, we can try and
> answer them.
>
> We can, of course, also think about how one might go about
> documenting this combinatorial morass. Any suggestions/examples?
> (The general problem of transcription of the combinatorial
> possibilities is of course intractable, but the problem may well
> be tractable for HotSpot options by means of partitioning into
> orthogonal
> subsets/"partitions".)
>
> -- ramki
> _______________________________________________
> 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