Table of Contents
Preface
Part 1: Code Optimization
1
Peeking Inside the Java Virtual Machine
Technical requirements
How the JVM works
More options with javap
Garbage collection
The garbage collection process
Garbage collection algorithms
Garbage collection optimizations
JIT compiler optimizations
Interpretation
AOT compilation
JIT compilation
Summary
2
Data Structures
Technical requirements
Improving performance with lists
Why use lists?
Common list implementations
High performance with lists
Improving performance with arrays
Array characteristics
Implementing arrays
High performance with arrays
Improving performance with trees
Examples of a tree structure
High-performance considerations
Improving performance with stacks and queues
Implementing ...
Get High Performance with Java 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.