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
Modern Java in Action
Manning's bestselling Java 8 book has been revised for Java 9 and 10! In Modern Java …
video
Java SE 17 Developer (1Z0-829)
21+ Hours of Video Instruction An intensive and guided video course to learn and practice while …
book
Command-Line Rust
Updated in 2024: A new version has been released that simplifies the programs used in the …
book
More Java 17: An In-Depth Exploration of the Java Language and Its Features
Work with the essential and advanced features of the Java 17 release. This book covers features …