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 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 multithreaded architectures
8 Investigating deadlocks with thread dumps
Part 3
9 Profiling memory-related problems
10 Investigating memory problems with heap dumps
11 Analyzing potential JVM problems with GC logs
Part 4
12 Uncovering system-level failures and service communication
problems
13 Measuring data consistency and transactions
A Tools you’ll need
B Opening a project
C Recommended further reading
D Understanding Java threads
E Memory management in Java apps
Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
"synopsis" may belong to another edition of this title.
Laurentiu Spilca is a skilled Java and Spring developer and an experienced technology instructor. He is the author of Manning’s Spring Start Here and Spring Security in Action.
"About this title" may belong to another edition of this title.
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condition: Good. No Jacket. Former library book; Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Seller Inventory # G1633435571I3N10
Seller: Books From California, Simi Valley, CA, U.S.A.
paperback. Condition: Very Good. Seller Inventory # mon0004072653
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: As New. Unread book in perfect condition. Seller Inventory # 51042423
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 51042423-n
Seller: PBShop.store UK, Fairford, GLOS, United Kingdom
HRD. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781633435575
Quantity: 15 available
Seller: PBShop.store US, Wood Dale, IL, U.S.A.
HRD. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781633435575
Seller: BargainBookStores, Grand Rapids, MI, U.S.A.
Paperback or Softback. Condition: New. Troubleshooting Java, Second Edition. Book. Seller Inventory # BBS-9781633435575
Seller: California Books, Miami, FL, U.S.A.
Condition: New. Seller Inventory # I-9781633435575
Seller: Grand Eagle Retail, Bensenville, IL, U.S.A.
Hardcover. Condition: new. Hardcover. Baffling bugs derail releases, burn hours, and erode your confidence. Stop staring at cryptic stack traces while deadlines speed closer. Master proven debugging tactics that surface root causes in minutes. Turn log chaos into clear, actionable insights with AI assistance. Optimize performance before users complain, rather than firefight after outages. Feel confident shipping resilient Java applications, even across microservices and cloud. AI-driven log analysis: Spot anomalies instantly, freeing you for higher-value coding. IntelliJ and JConsole deep dives: Navigate complex code without getting lost in details. Memory and heap dump walkthroughs: Eliminate leaks that silently drain resources and cash. SQL query profiling: Remove hidden database bottlenecks for snappier user experiences. Thread and concurrency guidance: Resolve deadlocks and race conditions before they bite. Hands-on projects: Cement skills through realistic scenarios you can replay anytime. Troubleshooting Java, Second Edition by instructor Laurentiu Spilca is a field manual that blends classroom clarity with production realism. Each chapter tackles a different investigation layerlogs, memory, threads, queriesusing familiar tools plus emerging AI assistants. Clear explanations, annotated screenshots, and step-by-step labs turn theory into repeatable practice. Finish the book able to read any Java system like an open book, isolate the root cause, and deliver permanent fixes that stick. Your evenings belong to you again. Ideal for intermediate Java developers, SREs, and tech-lead generalists who keep critical services running. 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. Shipping may be from multiple locations in the US or from the UK, depending on stock availability. Seller Inventory # 9781633435575
Seller: GreatBookPricesUK, Woodford Green, United Kingdom
Condition: New. Seller Inventory # 51042423-n
Quantity: Over 20 available