Java Concurrency Programming: From Beginner to Mastery
Tags
Summary
Editor's review
Who it's for
A good fit for
- 有Java语法基础、正准备系统学习多线程与并发编程的开发者
- 需要应对Java后端面试、想快速补齐并发知识点的求职者
- 已会用线程池和synchronized,但说不清原理与注意事项的工程师
- 讲授Java程序设计课程、需要一本薄而全参考书的高校师生
Not a good fit for
- 完全没有Java基础、尚未写过类和对象的纯新手,建议先补语言基础
- 希望深入JVM源码、CPU缓存一致性协议与AQS实现细节的资深读者
- 需要覆盖Java 8之后CompletableFuture、虚拟线程等新特性的读者
Reading tips
- 按第1部分到第3部分的顺序通读一遍(约两三天),先建立“概念—线程—安全—工具—应用”的整体地图
- 每读一个知识点就动手写小demo复现,尤其是中断、死锁、锁升级与线程池拒绝策略
- 把第4章集合类与第6章线程池作为重点,结合自己项目中的配置对照阅读,注意CopyOnWrite与线程池参数的适用边界
- 读完本书后接《Java并发编程实战》或《Java并发编程的艺术》补原理深度,并留意新版JDK带来的并发新特性
About the publisher
Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.
Contents
- Part 1 Fundamentals of Thread Concurrency
- Chapter 1 Concepts: CPU Cores and Thread Count; CPU Time-Slice Rotation; Processes and Threads; Parallelism and Concurrency; Throughput; The Significance and Pitfalls of High-Concurrency Programming
- Chapter 2 Understanding Thread in Java: Three Ways to Implement a Thread; Thread Attributes and Methods; Thread Interruption; Thread Lifecycle; Daemon Threads; Thread Groups; ThreadLocal; Thread Exception Handling
- Chapter 3 Thread Safety: The Java Memory Model and Multithreading; Unsafe vs. Safe; synchronized; Lock and ReentrantLock; ReadWriteLock and ReentrantReadWriteLock; StampedLock; Deadlock; volatile; Atomic Operations; Writing the Singleton Pattern
- Chapter 4 Thread-Safe Collection Classes: Hashtable; ConcurrentHashMap; CopyOnWriteArrayList; CopyOnWriteArraySet; The CopyOnWrite Mechanism; Vector and More
- Chapter 5 Thread Valves
- Chapter 6 Thread Pools
- Chapter 7 The Fork/Join Framework
- Chapter 8 Threads and Thread Pools in Internet Project Development
- Chapter 9 Thread Monitoring and Thread Analysis
- Chapter 10 Threading in Android Applications
FAQ
这本书适合零基础学Java的人看吗?
书里的例子用的是哪个Java版本?现在还能用吗?
这本书和《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.