这篇文章是我的多线程笔记,帮助梳理一下脉络。
1. Basic Knowledge
- Keywords: synchronized, volatile.
- Methods: wait(), notify(); run(), start();
- How to start thread?
new MyThread().start(); or new Thread(new MyRunnable()).start().
- Thread Status
2. Executor framework:
3. Concurrency Collection:
ConcurrencyHashMap...
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/package-summary.html
4. Resource
- 聊聊并发系列文章
- 深入理解Java内存模型
- Java内存模型详解
- Java 线程/内存模型的缺陷和增强
- Java library performance optimzation using local references to final members: should you use it?