For engineers, architects, and DevOps teams, distributed architectures and reactive applications make pinpointing and fixing production errors in Java and Scala code an increasingly difficult task. In this hands-on, practical video, JVM and debugging expert Tal Weiss reviews the practices Java and Scala developers can use to spot, profile and correct production application issues. He provides a set of advanced techniques that can be put to immediate use for quickly profiling and debugging live servers, and resolving critical errors without impacting performance.
- Review the pros and cons of production debugging using JDK, APM, Log, and Metrics tools
- Discover the importance of injecting state into JVM threads when debugging behavior and performance
- Explore advanced capabilities of jstack and Hotspot debugging tools
- Explore the components, advantages, and disadvantages of JVM debugging architecture
- Create advanced debugging and monitoring functions, using advanced Bytecode instrumentation techniques for both Java and Scala applications
- Write Java agents to profile and collect root cause state from production JVMs
- Wire your Java agents into your DevOps infrastructure using industry DevOps protocols
- Discover the JVM Tooling Interface – the JVM’s lowest level of native API
Tal Weiss builds JVM production debugging tools for high-scale applications. He is CEO at Takipi and was co-founder/CEO at VisualTao (acquired by Autodesk). He’s been designing scalable, real-time Java and C++ applications for 15 years. Tal blogs at blog.takipi.com.
Table of Contents
- The Foundations of Preparation 00:04:15
- Coding Techniques
- The JVM Debugger Architecture 00:08:11
- Instrumenting JVM Bytecode 00:26:18
- Understanding Bytecode and the JVM Verifier 00:07:10
- Understanding JVM Bytecode Overview and Best Practices 00:31:50
- Java Agents
- The JVM Tooling Interface (JVMTI) API Overview and In Action 00:20:51
- Summary 00:04:22
- Title: Debugging Java and Scala
- Release date: November 2015
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491933107