~/talk

Analyzing HotSpot Crashes

Talkat Oracle OpenWorld 2017 · 2017-10-01..10-05· [java, observability]
links:none on file
slides:none on file

Shows how HotSpot writes hs_err_pid and replay_pid files, how unsafe memory writes and class redefinition can crash the VM, and which data actually helps root cause analysis. Demonstrates using jcmd and the HotSpot Serviceability Agent to generate vminfo, extract classes from a core, rebuild jars and replay JIT compilations, reproducing a metaspace leak that manifested as ~320 C++ class objects; uses -XX:+CrashOnOutOfMemoryError and replay options (including ignore-init-errors) to replay and debug the failure.

AI-written summary · about

  1. 0:00Intro
  2. 2:01HotSpot VM Overview
  3. 14:49Crash in the Runtime
  4. 16:52Where did we crash?
  5. 19:20Crash in the Interpreter
  6. 27:58Out of Memory - Serviceability Agent
  7. 32:39Crash in the Compiler
  8. 34:10Debugging the Crash
  9. 39:28Serviceability Agent - Dump Classes from Core
  10. 43:19Crash Location and Crash Reason
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.