7. Tuning the JVM, Step by Step

A modern JVM (Java Virtual Machine) is a complex piece of software with the capability and flexibility to adapt to many different application families and domains. Though many applications perform well with the default settings of a JVM, some applications require additional JVM tuning to meet their performance requirements. Due to the wide variety of applications that can be run on a modern JVM, a large number of JVM attributes can be tuned for running an application. Unfortunately, a well-tuned JVM configuration used for one application may not be well suited for another application. As a result, understanding how to tune a JVM is a necessity.

Tuning a modern JVM is largely an art, but some fundamentals, when ...

Get Java™ Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.