JVM Performance Engineering: Inside the OpenJDK Hotspot VM, 1st edition

Published by Addison-Wesley Professional (April 22, 2024) © 2024

  • Monica Beckwith
Products list
Products list

This product is expected to ship within 5-7 business days for Australian customers.

This comprehensive guide to Java Virtual Machine (JVM) performance engineering is an indispensable resource for every experienced Java developer. World-renowned Java performance expert Monica Beckwith focuses specifically on the OpenJDK HotSpot VM, thoroughly demystifies complex aspects of JVM performance, shares powerful diagnosis techniques, and helps you implement effective optimisations throughout your own code.

First, Beckwith reviews the evolution of Java and the JVM, illuminating garbage collection strategies, parallel and concurrent GC threads, and their performance implications. Next, she expertly discusses the Java type system's evolution, its impact on performance and efficiency, and potential Project Valhalla enhancements. Beckwith shows how to transform monolithic Java applications to the modern, modular Java paradigm, updating project structures, ensuring dependency compatibility, and managing modules to optimise performance. You'll learn how to make the most of the Unified Java Virtual Machine Logging Interface to maximise process visibility and control, and improve debugging and performance testing.

With these foundations in place, Beckwith introduces techniques for end-to-end Java performance optimisation, including micro-benchmarking to assess and enhance the performance of any Java code. Beckwith provides in-depth coverage of advanced memory management in OpenJDK, showing how to leverage recent JDK optimisations and algorithms, and make the most of Thread-Local Allocation Buffers (TLABs) and Non-Uniform Memory Architecture (NUMA). A full chapter on runtime performance optimisation includes a preview of the future of concurrency with Project Loom. Beckwith concludes with advanced techniques for accelerating app startup with OpenJDK, including up-to-date coverage of Elastic Metaspace, Project Leyden, and GraalVM.

  • Chapter 1: The Performance Evolution of Java: The Language and the Virtual Machine
  • Chapter 2: Performance Implications of Java's Type System Evolution
  • Chapter 3: From Monolithic to Modular Java: A Retrospective and Ongoing Evolution
  • Chapter 4: The Unified Java Virtual Machine Logging Interface
  • Chapter 5: End-to-End Java Performance Optimization: Engineering Techniques and Micro-benchmarking with JMH
  • Chapter 6: Advanced Memory Management and Garbage Collection in OpenJDK
  • Chapter 7: Runtime Performance Optimizations: A Focus on Strings, Locks, and Beyond
  • Chapter 8: Accelerating Time to Steady State with OpenJDK HotSpot
  • Chapter 9: Harnessing Exotic Hardware: The Future of JVM Performance Engineering

Need help? Get in touch