Posted by Coder.
Results > Posts Filed Under > GC
Posted by Coder.
Jon Masamitsu’s Weblog : Weblog
The garbage collector tracks the average of the rate of promotion of live objects from the young generation into the tenured generation. If the average exceeds the free space in the tenured generation, the next time the young generation fills up, a full collection is done instead of a minor collection.
There are some caveats to this, read on…
Posted by Coder.
Jon Masamitsu’s Weblog
The amount of live data that is in the tenured generation is too large. Specifically, there is not enough free space in the tenured generation to support the rate of allocation into the tenured generation.
Posted by Coder.
Jon Masamitsu’s Weblog
Ergomonics has a default for the relative sizes of the young generation and the tenured generation in the heap. If you have command line flags to specify the sizes of the generations (probably something like -XX:NewRatio=ratio or -XX:MaxNewSize=bytes), use them. GC ergonomics normally does not change the maximum size of a generation so if you know something about how your application runs such that you know it benefits from a larger or smaller young generation, pass …