~/talk

Diagnosing a JVM Crash!

Talkat Stage of Java 2022 · 2022-02-11..02-15· [java, linux-and-operating-systems]
links:none on file
slides:none on file

A step‑by‑step recipe for turning a JVM fatal error and core file into actionable data using jhsdb clhsdb/hsdb/debugd, showing how to attach to a core or live PID, run jstack --mixed, capture a heap histogram with jmap --histogram and dump the heap binary, and read hs_err logs. Demo reproduces an infinite loop that generates 1,142 instances of a short‑lived object, proves memory‑pressure vs. segfault by inspecting native frames, and shows the debug server connection working.

AI-written summary · about

  1. 0:00Introduction to JVM crash diagnosis
  2. 2:23Common causes of JVM crashes
  3. 5:27Analyzing core dumps with GDB
  4. 7:41Introduction to jhsdb tool
  5. 9:05Command-line debugging with clhsdb
  6. 14:08UI debugging with hsdb
  7. 16:00Debug server with debugd
  8. 18:59Connecting to live processes
  9. 21:03Recap of jhsdb modes and connections
  10. 23:10Using help in OpenJDK tools
  11. 26:27Thread dumps with jstack
  12. 28:37Heap analysis with jmap
  13. 31:39Detecting deadlocks
  14. 33:54Heap dump generation
  15. 39:34VM info with jinfo
  16. 42:01Performance counters with jsnap
  17. 44:04Understanding hs_err log files
  18. 45:08Q&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.