How to Read Java: Understanding, debugging, and optimizing JVM applications
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.
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 the tools and practices in this invaluable guide, 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, How To Read Java will help you in the fundamental task of understanding how your applications work.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
How to Read Java MEAP V03
Chapter 1: Starting to know your apps
Chapter 2: Understanding your app's logic through debugging techniques Chapter 3: Finding problem root causes using advanced debugging techniques Chapter 4: Finding issues' root causes in apps running in remote environments Chapter 5: Making the most of logs: Auditing app's behavior
5.1 Investigating issues with logs
5.1.1 Using logs to identify exceptions
5.1.2 Using exception stack traces to identify who calls a method
5.1.3 Measuring time spent to execute a given instruction
5.1.4 Investigating issues in multithreaded architectures
5.2 Implementing logging
5.2.1 Persisting logs
5.2.2 Defining logging levels and using logging frameworks
5.2.3 Problems caused by logging and how to avoid them
5.3 Logs vs. remote debugging
Appendix A: Tools
Appendix B: Opening a project