What this book covers
Chapter 1, Peeking Inside the Java Virtual Machine, provides an in-depth look at the JVM, exploring how it works, including garbage collection and just-in-time (JIT) compiler optimizations to maximize application performance.
Chapter 2, Data Structures, allows you to learn about the impact of different data structures on performance and how to select and implement the most efficient ones for your applications.
Chapter 3, Optimizing Loops, covers techniques for optimizing loops, a fundamental construct in programming, to avoid bottlenecks and improve runtime performance.
Chapter 4, Java Object Pooling, dives into the concept of object pooling in Java and how to achieve high performance with them in your Java applications.
Chapter 5, Algorithm Efficiencies, helps you learn how to choose the right algorithm for any given requirement.
Chapter 6, Strategic Object Creation and Immutability, presents information and examples on how to make objects immutable and explains why you should consider it.
Chapter 7, String Objects, focuses on the efficient use of string objects in our Java applications.
Chapter 8, Memory Leaks, provides techniques, design patterns, coding examples, and best practices to avoid memory leaks.
Chapter 9, Concurrency Strategies and Models, provides foundational information on concurrency concepts and provides hands-on opportunities to implement concurrency in Java programs.
Chapter 10, Connection Pooling, covers the concept of connection pooling, providing fundamental principles, implementation approaches, and examples.
Chapter 11, Hypertext Transfer Protocols, covers the foundational protocol used for information exchange on the web.
Chapter 12, Frameworks for Optimization, provides a foundational understanding of key frameworks to optimize Java applications.
Chapter 13, Performance-Focused Libraries, takes an in-depth look at libraries such as JMH, Netty, and Jackson, and how they can be used to enhance the performance of your Java applications.
Chapter 14, Profiling Tools, explores various profiling tools, both bundled in the JDK and additional ones, to monitor and improve the performance of your Java applications.
Chapter 15, Optimizing Your Databases with SQL Queries, demonstrates how to optimize SQL queries and manage databases to ensure high performance.
Chapter 16, Code Monitoring and Maintenance, examines the importance of code monitoring and maintenance, including the use of application performance management (APM) tools, code reviews, and logging.
Chapter 17, Unit and Performance Testing, covers strategies for effective unit and performance testing to ensure your applications meet performance requirements.
Chapter 18, Leveraging Artificial Intelligence (AI) for High-Performance Java Applications, explores how AI can be integrated into Java applications for performance enhancements, including predictions, forecasting, and content pre-processing.