Troubleshooting Java
eBook - ePub

Troubleshooting Java

Read, debug, and optimize JVM applications

Laurentiu Spilca

  1. 328 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Troubleshooting Java

Read, debug, and optimize JVM applications

Laurentiu Spilca

Detalles del libro
Índice
Citas

Información del libro

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. 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

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Troubleshooting Java un PDF/ePUB en línea?
Sí, puedes acceder a Troubleshooting Java de Laurentiu Spilca en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming in Java. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Editorial
Manning
Año
2023
ISBN
9781638351863
Categoría
Computer Science

Índice

  1. inside front cover
  2. Troubleshooting Java
  3. Copyright
  4. contents
  5. front matter
  6. Part 1. The basics of investigating a codebase
  7. 1 Revealing an app’s obscurities
  8. 2 Understanding your app’s logic through debugging techniques
  9. 3 Finding problem root causes using advanced debugging techniques
  10. 4 Debugging apps remotely
  11. 5 Making the most of logs: Auditing an app’s behavior
  12. Part 2. Deep analysis of an app’s execution
  13. 6 Identifying resource consumption problems using profiling techniques
  14. 7 Finding hidden issues using profiling techniques
  15. 8 Using advanced visualization tools for profiled data
  16. 9 Investigating locks in multithreaded architectures
  17. 10 Investigating deadlocks with thread dumps
  18. 11 Finding memory-related issues in an app’s execution
  19. Part 3. Finding problems in large systems
  20. 12 Investigating apps’ behaviors in large systems
  21. Appendix A. Tools you’ll need
  22. Appendix B. Opening a project
  23. Appendix C. Recommended further reading
  24. Appendix D. Understanding Java threads
  25. Appendix E. Memory management in Java apps
  26. index
  27. inside back cover