Java Application Performance: Optimization, Profiling, and Testing
Практическое руководство по ускорению и масштабированию Java-систем
Summary:
The book "Java Application Performance" is a practical guide for developers who want to write fast, efficient, and scalable code in Java. If you are dealing with slow application performance, memory leaks, or high resource consumption, this book will help you systematically approach diagnosing and eliminating bottlenecks.
The author, Alexey Petrov, is an experienced Java engineer with many years of experience developing high-load systems. In the book, he shares proven methodologies and real-world cases from practice.
What you will learn from the book:
- How the JVM works: garbage collection, compilation, class loading, and impact on performance.
- Basics of profiling: using JProfiler, VisualVM, YourKit, and built-in JDK utilities.
- Memory optimization: GC tuning, avoiding leaks, working with large objects.
- Multithreading and concurrency: synchronization, thread pools, lock-free structures.
- Code optimization: efficient algorithms, working with collections, I/O, databases.
- Performance testing: benchmarking (JMH), load testing, result analysis.
- JVM tuning: flags, heap parameters, GC selection (G1, ZGC, Shenandoah).
- Collecting and analyzing logs: GC logs, production monitoring, alerts.
Who this book is for:
- Junior and Middle level Java developers looking to deepen their knowledge.