OS processes vs threads, the six Java thread states and every transition, Thread.sleep() vs Object.wait() vs LockSupport.park(), daemon threads and JVM shutdown, cooperative cancellation via interruption, and reading jstack thread dumps to diagnose production deadlocks.
// Lessons
- 01soon
Processes vs Threads — The OS-Level Distinction
- 02soon
Creating Threads — Runnable, Thread and Why to Use Neither Directly
- 03soon
Thread Lifecycle — The Six States and Their Transitions
- 04soon
Thread.sleep(), Object.wait() and LockSupport.park() — The Differences
- 05soon
Daemon vs User Threads — JVM Shutdown Semantics
- 06soon
Thread Interruption — The Cooperative Cancellation Protocol
- 07soon
Thread Priority and Scheduling — What the OS Actually Does
- 08soon
Thread Dumps — Reading jstack Output to Diagnose Production Problems