Learn how to quickly work out what your Java code is doing so you can understand when and why it misbehaves.
Searching for bugs, detangling messy legacy code, or evaluating your codebase for new features sucks up much of a developer's time. Effectively reading and understanding existing code is a true superpower!
Troubleshooting Java, Second Edition teaches you to efficiently analyze and debug Java applications using time-tested tools and new AI-powered techniques.
In
Troubleshooting Java, Second Edition you’ll learn:
- Efficiently use debuggers to quickly understand complex code
- Utilize AI-driven tools to automate log analysis, trace execution, and predict problems
- Correctly implement and interpret application logs
- Identify performance bottlenecks and optimize slow execution paths
- Profile SQL queries to diagnose and optimize database interactions
- Evaluate heap dumps to detect and fix memory leaks
- Analyze thread dumps to resolve deadlocks and concurrency issues
- Navigate the intricacies of service-oriented and microservices systems
In
Troubleshooting Java, Second Edition Java veteran
Laurențiu Spilcă shares techniques for reading, profiling, debugging, and optimizing Java code that he’s honed over years working with high-stakes systems. This fully-revised second edition, updates coverage for new Java tools and adds methods for saving time and effort using AI. You’ll master techniques to identify memory leaks, optimize database queries, and resolve threading issues with ease. The code samples are in Java, but the skills you learn in this guide can be applied to any JVM language.