Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems.
In Troubleshooting Java: Read, debug, and optimize JVM applications you will learn how to:
Determine what code does the first time you see it
Expose code logic problems
Evaluate heap dumps to find memory leaks
Monitor CPU consumption to optimize execution
Use thread dumps to find and solve deadlocks
Easily follow a service-oriented or microservices system
Properly use logging to better understand Java app execution
Use Java debuggers efficiently
Searching for bugs, detangling messy legacy code, or evaluating your codebase for new features sucks up much of a developer's time. Troubleshooting Java: Read, debug, and optimize JVM applications teaches code investigation techniques that will help you efficiently understand how Java apps work, how to optimize them, and how to fix the bugs that break them. You’ll go from the basics of debugging to advanced methods for locating problems in microservices architectures, and save yourself hours—or even days—of time. Each new technique is explained with lively illustrations and engaging real-world examples.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Fact: Over the course of your career, you’ll spend far more time reading code than you will writing it. The code investigation skills in this book will radically improve your efficiency in understanding and improving Java applications.
About the book
Troubleshooting Java: Read, debug, and optimize JVM applications presents practical techniques for exploring and repairing unfamiliar code. In it, you’ll learn timesaving practices for discovering hidden dependencies, discovering the root causes of crashes, and interpreting unexpected results. Go beyond profiling and debugging and start understanding how Java applications really work.
What's inside
Determine what code does the first time you see it
Evaluate heap dumps to find memory leaks
Monitor CPU consumption to optimize execution
Use thread dumps to find and solve deadlocks
Uncover glitches in code logic
Locate intermittent runtime problems
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 - THE BASICS OF INVESTIGATING A CODEBASE
1 Revealing an app’s obscurities
2 Understanding your app’s logic through debugging techniques
3 Finding problem root causes using advanced debugging techniques
4 Debugging apps remotely
5 Making the most of logs: Auditing an app’s behavior
PART 2 - DEEP ANALYSIS OF AN APP’S EXECUTION
6 Identifying resource consumption problems using profiling techniques
7 Finding hidden issues using profiling techniques
8 Using advanced visualization tools for profiled data
9 Investigating locks in multithreaded architectures
10 Investigating deadlocks with thread dumps
11 Finding memory-related issues in an app’s execution
PART 3 - FINDING PROBLEMS IN LARGE SYSTEMS
12 Investigating apps’ behaviors in large systems
"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.
How To Read Java: Understanding, debugging, and optimizing JVM applications teaches you how to better understand Java application code. It's filled with code investigation techniques for tricky issues like uncovering glitches in code logic or locating intermittent runtime problems. Armed with these tools and practices you'll save time whenever you need to identify performance issues, understand dependencies, discover the root cause of crashes, or interpret unexpected results. Whether you're a senior software engineer or you're just getting started, this invaluable guide will help you in the fundamental task of understanding how your applications work.
For intermediate Java developers.
"About this title" may belong to another edition of this title.
US$ 2.64 shipping within U.S.A.
Destination, rates & speedsSeller: INDOO, Avenel, NJ, U.S.A.
Condition: New. Seller Inventory # 9781617299773
Quantity: Over 20 available
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 44558907-n
Quantity: 1 available
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: As New. Unread book in perfect condition. Seller Inventory # 44558907
Quantity: 1 available
Seller: INDOO, Avenel, NJ, U.S.A.
Condition: As New. Unread copy in mint condition. Seller Inventory # SS9781617299773
Quantity: Over 20 available
Seller: PBShop.store US, Wood Dale, IL, U.S.A.
PAP. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781617299773
Quantity: 15 available
Seller: PBShop.store UK, Fairford, GLOS, United Kingdom
PAP. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781617299773
Quantity: 15 available
Seller: California Books, Miami, FL, U.S.A.
Condition: New. Seller Inventory # I-9781617299773
Quantity: 8 available
Seller: Grand Eagle Retail, Fairfield, OH, U.S.A.
Paperback. Condition: new. Paperback. Effectively reading and understanding existing code is a developer's superpower. In this book, you'll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems. In How To Read Java: Understanding, debugging, and optimizing JVM applications you will learn how to: Determine what code does the first time you see itExpose code logic problemsEvaluate heap dumps to find memory leaksMonitor CPU consumption to optimize executionUse thread dumps to find and solve deadlocksEasily follow a service-oriented or microservices systemProperly use logging to better understand Java app executionUse Java debuggers efficiently How To Read Java: Understanding, debugging, and optimizing JVM applications teaches code investigation techniques that will help you understand how Java apps work, optimize them, and fix the bugs that break them. You'll go from the basics of debugging to advanced methods for locating problems in microservices architectures. Each new technique is explained with lively illustrations and engaging real-world examples. about the technology Tasks like searching for bugs, working through messy legacy code, and analyzing an application's readiness to support new features consume a lot of developer time. In fact, most developers spend more time trying to read and understand code than they do writing it! In this unique guide, you'll learn techniques like resolving deadlocks by examining thread dumps and locating memory leaks by inspecting the heap that will radically improve your efficiency when working with existing code in JVM languages like Java, Scala, and Kotlin. Shipping may be from multiple locations in the US or from the UK, depending on stock availability. Seller Inventory # 9781617299773
Quantity: 1 available
Seller: GreatBookPricesUK, Woodford Green, United Kingdom
Condition: New. Seller Inventory # 44558907-n
Quantity: 1 available
Seller: THE SAINT BOOKSTORE, Southport, United Kingdom
Paperback / softback. Condition: New. New copy - Usually dispatched within 2 working days. 218. Seller Inventory # B9781617299773
Quantity: 1 available