1. 6.5 5.AQShistorical

    AQS is a queued synchronizer for building JUC concurrency utilities. These notes examine when and how to use it for custom synchronization tools.

  2. 6.6 6.ReentrantLockhistorical

    ReentrantLock provides explicit locking and unlocking. These notes compare it with synchronized and trace its implementation through AQS-related classes.

  3. 6.7 7.Lock Conditionhistorical

    Condition works with Lock for condition waiting and notification. These notes compare it with Object.wait and notify through producer-consumer scenarios.

  4. 6.8 8.CyclicBarrierhistorical

    CyclicBarrier makes threads wait for one another before proceeding and can be reused. These notes trace its implementation through Lock and Condition.

  5. 6.9 9.CountDownLatchhistorical

    CountDownLatch lets threads wait for tasks to complete and resumes them when the counter reaches zero. These notes trace its one-shot behavior through AQS.

  6. 6.10 10.CopyOnWriteArrayListhistorical

    CopyOnWriteArrayList separates reads from writes, allowing unlocked reads while copying data on writes. These notes examine the mechanism and its consistency behavior.

  7. 6.11 11.CopyOnWriteArraySethistorical

    CopyOnWriteArraySet stores distinct elements using CopyOnWriteArrayList. These notes trace its copy-on-write implementation through methods such as addIfAbsent.

  8. 6.12 ArrayBlockingQueuehistorical

    ArrayBlockingQueue is a bounded blocking queue backed by an object array. These notes trace waiting and notification through its shared lock.

  9. 6.13 13.ThreadLocalhistorical

    ThreadLocal stores independent data for each thread rather than sharing one variable's state. These notes examine its internal map through data isolation.

  10. 6.14 14.ThreadPoolhistorical

    Thread pools separate submission from execution and reuse threads to reduce creation and destruction. These notes examine Java pool structure and execution.