Java Performance and Scalability. An in depth article about Java performance, especiially with regards to garbage collection.
Developers must first get a solid background in garbage collection, examine the different algorithms and implementations, come to understand how they affect the application, and learn about the GC problems Java applications have historically faced. Then they can construct a mathematical model to predict and tune application behavior.
By using the output from the -verbose:gc option in the Java Virtual Machine (JVM) and the GC analyzer, developers can analyze object creation, object lifetimes, and garbage collection of these objects. Then they can use the knowledge they’ve gained to improve the performance and scalability of their applications, using advanced GC algorithms to reduce application pause times to acceptable levels.