Java (R) Performance Companion shows how to systematically and proactively improve Java performance with today's advanced multicore hardware and complex operating system environments. The authors, who are all leading Java performance and Java HotSpot VM experts, help you improve performance by using modern software engineering practices, avoiding common mistakes, and applying tips and tricks gleaned from years of real-world experience. Picking up where Charlie Hunt and Binu John's classic Java Performance left off, this book provides unprecedented detail on two powerful Java platform innovations: the Garbage First (G1) garbage collector and the HotSpot VM Serviceability Agent. Coverage includes Leveraging G1 to overcome limitations in parallel, serial, and CMS garbage collectionUnderstanding each stage of G1 GC collections, both young and oldGetting under the hood with G1 and efficiently fine-tuning it for your applicationIdentifying potential optimizations, interpreting experimental results, and taking actionExploring the internals of the HotSpot VMUsing HotSpot VM Serviceability Agent to analyze, triage, and resolve diverse HotSpot VM issuesTroubleshooting out of memory errors, Java level deadlocks, and HotSpot VM crashesExtending the Serviceability Agent, and using the Plugin for VisualVMMastering useful HotSpot VM command line options not covered in Java (TM) Performance Java (R) Performance Companion can help you squeeze maximum performance and value from Java with JDK 8 or 9-for any application, in any environment. Register your product at informit.com/register for convenient access to downloads, updates, and corrections as they become available.