JVM crash dump analysis
summary
Shows how to read an hs_err.log to extract the failing instruction, registers, stack and memory map, and how that pinpoints root causes: native division-by-zero, the obscure x86 overflow for Integer.MIN_VALUE / -1, and a JIT miscompile that turns a safe Java array access on a length-2 char[] into an out-of-bounds load. Demonstrates using an online disassembler, /proc memory maps, gdb and options like -Xint plus CompileCommand exclusions to reproduce, narrow the culprit, and report bugs (one was fixed and backported).
AI-written summary · about
