Configuring the JVM

The JVM has lots and lots of configuration possibilities. In this book, we will focus on just a few, but these are the ones that, over the years, have proved most valuable in terms of information and performance-related impact.

Default settings

The Hotspot JVM is nowadays ergonomic. This means that, based upon the platform configuration, it will select the runtime compiler, heap configuration, and GC that, according to its documentation, will produce a good to excellent performance for most applications. To get the best possible performance, specific tuning might, however, still be required.

Starting up, JVM is already configured with a set of options. Some are just defaults, while others are dynamically, or ergonomically, set ...

Get WildFly Performance Tuning 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.