Troubleshooting Java, Second Edition by Laurentiu Spilca

Troubleshooting Java, Second Edition

2nd Edition

Laurentiu Spilca

Manning · Print & ebook · November 18, 2025

Learn how to quickly work out what your Java code is doing so you can understand when and why it misbehaves.

Buy on Amazon

We earn from qualifying purchases.

Who it’s for
Java developers who need to debug, profile, and optimize applications
Themes
Java debugging and troubleshooting, Performance profiling and optimization, AI-assisted code analysis
Genres
Java Programming, Testing & QA, Dev Tools & Workflow

Nearest books

Matched by what the books are about, then ordered by what their readers also loved. Most of these share its genre: Java Programming.

  1. Spring AI in ActionCraig Walls53% match
  2. 97 Things Every Programmer Should KnowKevlin Henney52% matchAlso shares Testing & QA
  3. Core JavaCay S. Horstmann64% match
  4. Core Java for the ImpatientCay S. Horstmann64% match
  5. Introduction to Programming in JavaRobert Sedgewick, Kevin Wayne63% match
  6. Kotlin in Action, Second EditionSebastian Aigner, Roman Elizarov63% match
  7. Spring Start HereLaurentiu Spilca63% match
  8. Java: a Beginner's Guide, Eighth EditionHerbert Schildt62% match

For younger readers: The CS Detective

Start with three books, and this one can be the first.

Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.

Start with this book

About this book

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.

Continue reading

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 Laurentiu Spilca 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. About the technology Whether you’re working with legacy systems or using AI to generate fresh programs, you’ll spend more time reading and fixing code than writing it from scratch. Troubleshooting is a messy art, and efficient profiling, logging, debugging, and optimization will save you hours of time and countless headaches. About the book Troubleshooting Java, Second Edition teaches practical techniques to diagnose, debug, and optimize Java applications. You’ll learn to uncover hidden dependencies, diagnose crashes, and resolve performance issues using tools like IntelliJ IDEA Debugger, VisualVM, and Heap Dump Analyzer. This revised and updated second edition introduces AI-powered troubleshooting tools, along with techniques for modern Java and cloud-native apps. What's inside • Use debuggers to quickly understand complex code • Automate code analysis with AI tools • Implement and interpret application logs • Identify performance bottlenecks About the reader For intermediate Java developers. About the author Laurentiu Spilca is a skilled Java and Spring developer and an experienced technology instructor. He is the author of Spring Start Here and Spring Security in Action. Table of Contents Part 1 1 Starting to know your apps 2 Understanding your app’s logic through debugging techniques 3 Finding problem root causes using advanced debugging techniques 4 Making the most of logs: Auditing an app’s behavior Part 2 5 Identifying resource consumption problems using profiling techniques 6 Finding hidden problems using profiling techniques 7 Investigating locks in

Who it’s for

  • Java developers who need to debug, profile, and optimize applications
  • Developers working with legacy code or JVM languages

Where it sits

Java Programming77%
Dev Tools & Workflow40%
Testing & QA39%

Percentages are BookFrontier’s reading of the book.

Publisher categories

  • Programming Basics
  • Java Programming
  • Web Programming
Authors
Laurentiu Spilca
Publisher
Manning
Published
November 18, 2025
Format
Print & ebook
Theme
Java debugging and troubleshooting · Performance profiling and optimization · AI-assisted code analysis
Reading lane
Programming Basics