~/talk

JVM crash dump analysis

Talkat RigaDevDay 2015 · on Thursday, 2015-01-22· [java]
slides:none on file

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

  1. 0:00Causes of JVM crashes
  2. 3:53Analyzing a crash dump
  3. 10:43Interpreting crash logs
  4. 16:01Practical crash analysis
  5. 21:48Debugging JIT compiler bugs
  6. 27:52Shared memory and OS issues
  7. 32:42Best practices and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.