Chapter 5

End-to-End Java Performance Optimization: Engineering Techniques and Micro-benchmarking with JMH

Introduction

Welcome to a pivotal stage in our journey through Java Virtual Machine (JVM) performance engineering. This chapter marks a significant transition, where we move from understanding the historical context and foundational structures of Java to applying this knowledge to optimize performance. This sets the stage for our upcoming in-depth exploration of performance optimization in the OpenJDK HotSpot JVM.

Together, we’ve traced the evolution of Java, its type system, and the JVM, witnessing Java’s transition from a monolithic structure to a modular one. Now, we’re poised to apply these concepts to the vital task of performance ...

Get JVM Performance Engineering: Inside OpenJDK and the HotSpot Java Virtual Machine 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.