13 万字!腾讯高工手写 JDK 源码笔记 带你飙向实战 (1)

第三章 Lock 与 Condition
互斥锁

读写锁

第 4 章同步工具类
CountDownLatch
!
复制代码
Exchanger

Phaser


第 5 章并发容器
在 Lock 和 Phaser 的实现中,已经介绍了基于 CAS 实现的无锁队列和无锁栈。本章将全面介绍 Concurrent 包提供的各种并发容器。
BlockingQueue

ConcurrentHashMap


ConcurrentSkipListMap/Set


第 6 章线程池与 Future
线程池与 Future

线程池的类继承体系

ScheduledThreadPoolExecutor

第 7 章 ForkJoinPool
工作窃取队列

ForkJoinTask 的 fork/join


ForkJoinPool 的优雅关闭

CompletableFuture
CompletableFuture 用法

任务的网状执行:有向无环图


评论