Analyzing HotSpot Crashes
summary
Covers how HotSpot writes hs_err_pid/replay_pid files when the JVM crashes and how to read their sections (native/Java stacks, registers, assembler, memory, threads, shared libs). Demonstrates using the HotSpot Serviceability Agent to inspect core files and JVM data structures, replay failing JIT compilations (replay_pid/inline_pid), and diagnose crashes in runtime, native code, JITed code, GC, or during JIT compilation.
AI-written summary · about
chapters (15)
- 0:00HotSpot crashes intro
- 2:28Root causes of issues
- 10:02Exception stack traces
- 15:15HotSpot internals
- 18:08Interpreter vs JIT
- 22:24HotSpot tools demo
- 26:10Memory management
- 31:05Class loading
- 35:09JIT compilation
- 37:13Profiling and optimization
- 40:09Debugging crashes
- 44:50Monitoring
- 46:29Native memory tools
- 49:13Troubleshooting issues
- 50:22Q&A
