Debugging concurrency failures from evidence to recheck

Classify a concurrency symptom, build a wait graph from captured evidence, test one hypothesis, and recheck a bounded fix. Deadlock depth and concurrency diagnosis · Operating systems.

An order service has stopped finishing orders and CPU is low. What would you have to see before calling it a deadlock, and what would prove a fix worked?

What you will learn

  • Tell a slow lock holder from a deadlock
  • Read thread-dump lines as waiter, lock and owner edges
  • Predict what a fix changes and recheck with the same capture

Lesson outline

  1. Start from what stopped
  2. Read a dump as edges
  3. A ring and a gap
  4. Change one cause, then recheck

18 minutes · 3 scenes · 0 predict checks · 9 quiz questions

The full lesson is available with Premium.