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
- Start from what stopped
- Read a dump as edges
- A ring and a gap
- Change one cause, then recheck
18 minutes · 3 scenes · 0 predict checks · 9 quiz questions
The full lesson is available with Premium.