March 2007
Intermediate to advanced
326 pages
9h 3m
English
In Java applications, garbage collection tuning is the quickest and easiest way to see some capacity improvements. An untuned application running at production volumes and traffic will probably spend 10% of its time collecting garbage. That should be reduced to 2% or less.
Modern garbage collectors are optimized for the typical bimodal distribution of object life spans. Most objects are ephemeral; they are created and discarded within microseconds. (Sun refers to this as infant mortality.) A much smaller population of objects are long-lived, often with life spans that match the program execution (singletons, service ...
Read now
Unlock full access