
Mastering the Java Virtual Machine
An in-depth guide to JVM internals and performance optimization
Otavio Santana(Author)
Packt Publishing
Published on 29. February 2024
Book
Paperback/Softback
234 pages
978-1-83546-796-1 (ISBN)
Description
Delve into the inner workings of JVM and explore internals, memory management, and performance optimization
Key Features
Uncover the intricacies of JVM, from class loading to garbage collection, and more
Master JVM memory management for efficient resource use and reduced overhead
Apply JVM knowledge through case studies, reinforcing your understanding of internals
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionMastering the Java Virtual Machine is a comprehensive guide that will take you into the heart of the Java programming language, guiding you through the intricate workings of the Java Virtual Machine (JVM) and equipping you with essential skills to become a proficient Java developer.
You'll start by understanding the JVM, exploring its architecture and how it executes Java code. Through detailed explanations and real-world examples, you'll gain a deep understanding of JVM internals, enabling you to write efficient and optimized Java applications. As you progress, you'll delve into memory management and execution, unraveling the complexities of heap and stack management, garbage collection, and memory profiling. You'll learn how memory is allocated and reclaimed in the JVM, as well as how to optimize memory usage and identify performance bottlenecks in your applications. With this knowledge, you'll be able to create Java programs that are not only robust but also highly performant.
By the end of this Java book, you'll have the skills needed to excel in Java programming, writing efficient and maintainable code.What you will learn
Understand JVM architecture and bytecode execution
Explore memory management and optimize memory usage
Compare and evaluate alternative JVMs like GraalVM
Master reflection for dynamic behavior in Java applications
Use Java annotation processors for code generation
Get to grips with reactive programming principles for scalable applications
Who this book is forThis book is for Java developers looking to deepen their expertise in the Java Virtual Machine (JVM) and optimize Java applications for peak performance. It is ideal for both intermediate-level and seasoned professionals, who want to explore specific aspects such as JVM internals, memory management, threading, security, and performance tuning.
Key Features
Uncover the intricacies of JVM, from class loading to garbage collection, and more
Master JVM memory management for efficient resource use and reduced overhead
Apply JVM knowledge through case studies, reinforcing your understanding of internals
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionMastering the Java Virtual Machine is a comprehensive guide that will take you into the heart of the Java programming language, guiding you through the intricate workings of the Java Virtual Machine (JVM) and equipping you with essential skills to become a proficient Java developer.
You'll start by understanding the JVM, exploring its architecture and how it executes Java code. Through detailed explanations and real-world examples, you'll gain a deep understanding of JVM internals, enabling you to write efficient and optimized Java applications. As you progress, you'll delve into memory management and execution, unraveling the complexities of heap and stack management, garbage collection, and memory profiling. You'll learn how memory is allocated and reclaimed in the JVM, as well as how to optimize memory usage and identify performance bottlenecks in your applications. With this knowledge, you'll be able to create Java programs that are not only robust but also highly performant.
By the end of this Java book, you'll have the skills needed to excel in Java programming, writing efficient and maintainable code.What you will learn
Understand JVM architecture and bytecode execution
Explore memory management and optimize memory usage
Compare and evaluate alternative JVMs like GraalVM
Master reflection for dynamic behavior in Java applications
Use Java annotation processors for code generation
Get to grips with reactive programming principles for scalable applications
Who this book is forThis book is for Java developers looking to deepen their expertise in the Java Virtual Machine (JVM) and optimize Java applications for peak performance. It is ideal for both intermediate-level and seasoned professionals, who want to explore specific aspects such as JVM internals, memory management, threading, security, and performance tuning.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Dimensions
Height: 235 mm
Width: 191 mm
ISBN-13
978-1-83546-796-1 (9781835467961)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Person
Otavio is a passionate architect and software engineer focused on cloud and Java technologies. He has deep expertise in polyglot persistence and high-performance applications in finance, social media, and e-commerce.
As a global speaker, he has presented at the most significant international conferences, such as JavaOne, TDC, and Devoxx. He volunteers and helps organize several Java User Groups and meetups around the globe. Otavio is recognized for his Open Source contributions and has received many awards, including all JCP Awards categories and the Duke's Choice Award, to name a few. Otavio is also a distinguished member of the Java Champions and Oracle ACE programs.
Otavio loves history, economy, traveling, programming, and real-world languages. He speaks Portuguese, English, Spanish, Italian, and French and is fluent in dad jokes.
As a global speaker, he has presented at the most significant international conferences, such as JavaOne, TDC, and Devoxx. He volunteers and helps organize several Java User Groups and meetups around the globe. Otavio is recognized for his Open Source contributions and has received many awards, including all JCP Awards categories and the Duke's Choice Award, to name a few. Otavio is also a distinguished member of the Java Champions and Oracle ACE programs.
Otavio loves history, economy, traveling, programming, and real-world languages. He speaks Portuguese, English, Spanish, Italian, and French and is fluent in dad jokes.
Content
Table of Contents
Introduction to the Java Virtual Machine
Class File Structure
Understanding Bytecodes
Memory Management
Execution Engine
Class Loading and Dynamic Class Loading
Garbage Collection and Memory Profiling
GraalVM
JVM Ecosystem and Alternative JVMs
Java Framework Principles
Reflection
Java Annotation Processor
Introduction to the Java Virtual Machine
Class File Structure
Understanding Bytecodes
Memory Management
Execution Engine
Class Loading and Dynamic Class Loading
Garbage Collection and Memory Profiling
GraalVM
JVM Ecosystem and Alternative JVMs
Java Framework Principles
Reflection
Java Annotation Processor