thepointman.dev_

Courses / Java Concurrency

Java Threads

intermediate8 lessons

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

  1. 01

    Processes vs Threads — The OS-Level Distinction

    soon
  2. 02

    Creating Threads — Runnable, Thread and Why to Use Neither Directly

    soon
  3. 03

    Thread Lifecycle — The Six States and Their Transitions

    soon
  4. 04

    Thread.sleep(), Object.wait() and LockSupport.park() — The Differences

    soon
  5. 05

    Daemon vs User Threads — JVM Shutdown Semantics

    soon
  6. 06

    Thread Interruption — The Cooperative Cancellation Protocol

    soon
  7. 07

    Thread Priority and Scheduling — What the OS Actually Does

    soon
  8. 08

    Thread Dumps — Reading jstack Output to Diagnose Production Problems

    soon