Book description
Peek Under the Hood of the Complex but Fascinating Java Virtual Machine
Dive into the intricacies of JVM performance with JVM Performance Engineering, the essential guide for seasoned Java developers eager to demystify the JVM. Focusing on the OpenJDK HotSpot VM, this book provides insights into cutting-edge Java performance techniques and trends.
Distinguished Java Champion Monica Beckwith blends theoretical insights and practical tools--encompassing case studies, applications, use-case diagrams, and process flow charts--to demonstrate diagnostic techniques, performance methodologies, and optimizations.
This manual is a portal to excelling in Java performance engineering, offering Java developers, system architects, and software engineers the tools to foster career advancement and success with Java applications.
Examine the evolving Java type system, from lambda expressions to the advent of records and sealed classes, and explore how Project Valhalla aims to further optimize performance
Leverage the Unified JVM Logging Interface for enhanced diagnostics, monitoring, and performance testing, featuring the novel asynchronous logging mechanism
Grasp the intricate relationship between JVM and hardware, mastering end-to-end Java performance optimization techniques
Gain deep insights into JVM's garbage collection and memory management, examining the pivotal Garbage First and Z GCs--and how they are shaping the Java performance landscape
Explore efficient deployment strategies and techniques to accelerate JVM readiness, leveraging class data sharing, ahead-of-time compilation, and innovations like GraalVM and upcoming Project Leyden
Embark on an exploration of the synergy between the JVM and exotic hardware like GPUs and FPGAs and revel in the potential of Project Panama and TornadoVM in high-computational scenarios such as machine learning and data analytics
Look ahead to the future of Java concurrency with Virtual Threads, and investigate runtime optimizations of string handling and concurrency, propelling Java forward
Register your product for convenient access to downloads, updates, and/or corrections as they become available. See inside for details.
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Preface
- Acknowledgments
- About the Author
- 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
- Introduction
- Understanding the Java Platform Module System
- From Monolithic to Modular: The Evolution of the JDK
- Continuing the Evolution: Modular JDK in JDK 11 and Beyond
- Implementing Modular Services with JDK 17
- JAR Hell Versioning Problem and Jigsaw Layers
- Open Services Gateway Initiative
- Introduction to Jdeps, Jlink, Jdeprscan, and Jmod
- Conclusion
-
Chapter 4. The Unified Java Virtual Machine Logging Interface
- The Need for Unified Logging
- Unification and Infrastructure
- Tags in the Unified Logging System
- Diving into Levels, Outputs, and Decorators
- Practical Examples of Using the Unified Logging System
- Optimizing and Managing the Unified Logging System
- Asynchronous Logging and the Unified Logging System
- Understanding the Enhancements in JDK 11 and JDK 17
- Conclusion
- 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
- Introduction
- Overview of Garbage Collection in Java
- Thread-Local Allocation Buffers and Promotion-Local Allocation Buffers
- Optimizing Memory Access with NUMA-Aware Garbage Collection
- Exploring Garbage Collection Improvements
- Future Trends in Garbage Collection
- Practical Tips for Evaluating GC Performance
- Evaluating GC Performance in Various Workloads
- Live Data Set Pressure
- Chapter 7. Runtime Performance Optimizations: A Focus on Strings, Locks, and Beyond
-
Chapter 8. Accelerating Time to Steady State with OpenJDK HotSpot VM
- Introduction
- JVM Start-up and Warm-up Optimization Techniques
- Decoding Time to Steady State in Java Applications
- Managing State at Start-up and Ramp-up
- GraalVM: Revolutionizing Java’s Time to Steady State
- Emerging Technologies: CRIU and Project CRaC for Checkpoint/Restore Functionality
- Start-up and Ramp-up Optimization in Serverless and Other Environments
- Boosting Warm-up Performance with OpenJDK HotSpot VM
- Conclusion
- Chapter 9. Harnessing Exotic Hardware: The Future of JVM Performance Engineering
- Index
- Code Snippets
Product information
- Title: JVM Performance Engineering: Inside OpenJDK and the HotSpot Java Virtual Machine
- Author(s):
- Release date: April 2024
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134659954
You might also like
book
Mastering the Java Virtual Machine
Delve into JVM inner workings and explore internals, memory management, and performance optimization Key Features Uncover …
book
Optimizing Cloud Native Java
Performance tuning is an experimental science, but that doesn't mean engineers should resort to guesswork and …
book
Troubleshooting Java
Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques …
book
Scalable Data Architecture with Java
Orchestrate data architecting solutions using Java and related technologies to evaluate, recommend and present the most …