M
Mark Thornton
Lew said:To which of Java's several garbage collectors does your comment apply?
Young generation collections in Java are very fast, influenced only by
the number of live objects; dead ones do not add to the GC time.
What seems to be forgotten is even if there are very few live objects
the GC will still take some minimum time. Thus there will be some cost
for every time you fill the young generation. The more frequently you
fill it, the higher the cost. This cost can be reduced by giving the
process a lot of memory, and in particular configuring a very large
young generation.
Mark Thornton