Java Concurrency: Inside the JDK Source Code
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有 1~3 年 Java 开发经验、想弄清 JUC 底层原理的工程师
- 准备 Java 后端面试、需要系统梳理 AQS、线程池、CAS 等考点的求职者
- 做高并发服务、需要判断并发组件选型与性能取舍的开发者
- 读过《Java并发编程实战》但希望进一步看源码实现细节的读者
Not a good fit for
- 完全没有 Java 语法基础、尚未接触过多线程的初学者
- 只想找现成 API 用法和代码模板、不打算读源码的读者
- 对操作系统与 JVM 内存模型完全无概念、希望零基础入门的读者
Reading tips
- 按章节顺序读:第 1 章的内存模型与内存屏障是后面所有内容的地基,尽量不要跳过。
- 边读边开 IDE 对照 JDK 源码,把书中的方法调用链在源码里走一遍,效果远胜于纯阅读。
- 读完后自己动手实现一个简化版 AQS 或线程池,用验证代替记忆,才能真正内化。
- 注意书中源码基于较早的 JDK 版本,遇到与当前 JDK 实现不一致处,以官方源码和文档为准。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Chapter 1: Multithreading Basics
- Chapter 2: Atomic Classes
- Chapter 3: Lock and Condition
- Chapter 4: Synchronization Utilities
- Chapter 5: Concurrent Containers
- Chapter 6: Thread Pools and Future
- Chapter 7: ForkJoinPool
- Chapter 8: CompletableFuture
FAQ
这本书需要什么基础才能读?
书中的源码分析基于哪个 JDK 版本?
这本书和《Java并发编程实战》有什么区别?
这本书适合用来准备面试吗?
全书大概多少篇幅,需要读多久?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.