~/talk

Analyzing HotSpot Crashes

Talkat JBreak 2017 · on Tuesday, 2017-04-04· [java]
links:none on file
slides:none on file

Shows exactly how hs_err_pid, core dumps and replay data files record registers, mixed Java/native stacks, last VM events and bytecode disassembly so crashes can be traced to a guilty action (unsafe write, JNI heap corruption, metaspace leak, or bad JIT output). Demonstrates tools: jcmd to trigger info dumps, Java HotSpot Debugger / Serviceability Agent to inspect core files and regenerate class jars, reproduces a metaspace leak (320 instance classes) and a C2 compiler crash and verifies fixes.

AI-written summary · about

  1. 0:00Introduction to HotSpot crashes
  2. 1:21What is a HotSpot crash?
  3. 5:14Example of a HotSpot crash
  4. 10:15HotSpot error file contents
  5. 13:28How HotSpot error files are generated
  6. 15:59Analyzing interpreter crashes
  7. 21:56Using J command for info logs
  8. 22:17Out of memory errors and crash files
  9. 25:24Serviceability agent overview
  10. 32:44JIT compiler crashes and replay files
  11. 39:48Replay file limitations with lambdas
  12. 44:44Building replay jars from core files
  13. 47:58Crash location vs crash reason
  14. 50:06Further resources and references
  15. 51:28Q&A session
~/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.