Java6 vs Java5

Y.S.Ramakrishna at Sun.COM Y.S.Ramakrishna at Sun.COM
Fri Mar 27 12:11:48 PDT 2009


>> 3b) - If I am going to the throughput collector, is there anyway to 
>> force the application to keep
>> a certain amount of the heap free (ie -Xms=Xms=256M --) I always want to 
>> get say 100M free
>> so once the free heap drop to that level trigger a GC?  (Basically I 
>> want a CmsInitiatingOccupancyFraction
>> but for the throughput collector)

Do you want that much heap free in say the old generation?

What would be your rationale for wanting that kind of behaviour?
Looks to me you would be wasting that much of space since you
don't really get to allocate from it (or once you exceed that
level, each scavenge becomes a full gc at least as i read your
specification above).

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