{"product_id":"troubleshooting-java-second-edition-9781633435575","title":"Troubleshooting Java, Second Edition","description":"\u003cb\u003eLearn how to quickly work out what your Java code is doing so you can understand when and why it misbehaves.\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003eSearching 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! \u003ci\u003eTroubleshooting Java, Second Edition\u003c\/i\u003e teaches you to efficiently analyze and debug Java applications using time-tested tools and new AI-powered techniques. \u003cp\u003e\u003c\/p\u003eIn \u003ci\u003eTroubleshooting Java, Second Edition\u003c\/i\u003e you'll learn: \u003cp\u003e\u003c\/p\u003e - Efficiently use debuggers to quickly understand complex code\u003cbr\u003e - Utilize AI-driven tools to automate log analysis, trace execution, and predict problems\u003cbr\u003e - Correctly implement and interpret application logs\u003cbr\u003e - Identify performance bottlenecks and optimize slow execution paths\u003cbr\u003e - Profile SQL queries to diagnose and optimize database interactions\u003cbr\u003e - Evaluate heap dumps to detect and fix memory leaks\u003cbr\u003e - Analyze thread dumps to resolve deadlocks and concurrency issues\u003cbr\u003e - Navigate the intricacies of service-oriented and microservices systems \u003cp\u003e\u003c\/p\u003e In \u003ci\u003eTroubleshooting Java, Second Edition\u003c\/i\u003e Java veteran \u003cb\u003eLaurentiu Spilca\u003c\/b\u003e 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the technology\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the book\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003ci\u003eTroubleshooting Java, Second Edition\u003c\/i\u003e 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. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e - Use debuggers to quickly understand complex code\u003cbr\u003e - Automate code analysis with AI tools\u003cbr\u003e - Implement and interpret application logs\u003cbr\u003e - Identify performance bottlenecks \u003cp\u003e\u003c\/p\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e For intermediate Java developers. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the author\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cb\u003eLaurentiu Spilca\u003c\/b\u003e is a skilled Java and Spring developer and an experienced technology instructor. He is the author of \u003ci\u003eSpring Start Here\u003c\/i\u003e and \u003ci\u003eSpring Security in Action\u003c\/i\u003e. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eTable of Contents\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e Part 1\u003cbr\u003e 1 Starting to know your apps\u003cbr\u003e 2 Understanding your app's logic through debugging techniques\u003cbr\u003e 3 Finding problem root causes using advanced debugging techniques\u003cbr\u003e 4 Making the most of logs: Auditing an app's behavior\u003cbr\u003e Part 2\u003cbr\u003e 5 Identifying resource consumption problems using profiling techniques\u003cbr\u003e 6 Finding hidden problems using profiling techniques\u003cbr\u003e 7 Investigating locks in multithreaded architectures\u003cbr\u003e 8 Investigating deadlocks with thread dumps\u003cbr\u003e Part 3\u003cbr\u003e 9 Profiling memory-related problems\u003cbr\u003e 10 Investigating memory problems with heap dumps\u003cbr\u003e 11 Analyzing potential JVM problems with GC logs\u003cbr\u003e Part 4\u003cbr\u003e 12 Uncovering system-level failures and service communication\u003cbr\u003e problems\u003cbr\u003e 13 Measuring data consistency and transactions\u003cbr\u003e A Tools you'll need\u003cbr\u003e B Opening a project\u003cbr\u003e C Recommended further reading\u003cbr\u003e D Understanding Java threads\u003cbr\u003e E Memory management in Java apps \u003cp\u003e\u003c\/p\u003e 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.\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cb\u003eLaurentiu Spilca\u003c\/b\u003e 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.\u003cbr\u003e","brand":"Manning Publications","offers":[{"title":"Default Title","offer_id":51720997273874,"sku":"9781633435575","price":55.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_dc3ca772-f33c-440f-98da-1f08a74f52d1.jpg?v=1762945496","url":"https:\/\/surprise-castle.myshopify.com\/products\/troubleshooting-java-second-edition-9781633435575","provider":"Surprise Castle","version":"1.0","type":"link"}