Master:
Thread;
Thread security;
Thread-Safe collection classes;
Multi-threaded interaction: thread valves;
thread pool;
Fork/join;
2nd: Know thread:
thread the properties and methods inside;
thread;
thread life cycle;
daemon thread;
thread Group;
copy of Current thread: ThreadLocal;
thread exception handling;
3rd: Thread security:
java memory model and multithreading;
thread unsafe and thread safe;
implicit lock synchronized;
Explicit locking lock and reentrantlock;
Explicit locks Readwritelock and Reentrantreadwritelock;
explicit lock stampedlock;
deadlock;
volatile keyword;
atomic variable: atomic;
singleton mode;
The 4th Chapter: Thread-Safe Collection classes:
java.util.Hashtable;
Java.util.concurrent.ConcurrentHashMap;
Java.util.concurrent.CopyOnWriteArrayList;
Java.util.concurrent.CopyOnWriteArraySet;
Copyonwrite mechanism;
Vector;
StringBuilder and StringBuffer;
The 5th chapter: The Interaction between Multithreading: Thread valve:
blocking queue blockingqueue;
array blocking queue arrayblockingqueue;
linked list blocking queue linkedblockingqueue;
priority blocking queue Priorityblockingqueue;
delay queue Delayqueue;
synchronization queue Synchronousqueue;
linked list bidirectional blocking queue Linkedblockingdeque;
linked list transmission queue LinkedTransferQueue;
synchronization counter Countdownlatch;
abstract queue synchronizer Abstractqueuedsynchronizer;
synchronization counter semaphore;
synchronization counter cyclicbarrier;
6th: thread pool:
newsinglethreadexecutor use;
newcachedthreadpool;
newfixedthreadpool;
thread pool;
thread pool;
custom thread pool and executorservice;
thread pool is being used incorrectly at work;
The 7th Chapter: Fork/join Framework:
Future mission mechanism and futuretask;
What is the Fork/join framework;
Know the family of Fork/join's JDK;
The realization principle of fork/join frame;
Exception handling mechanisms and methods;
The advantages and disadvantages of fork/join model and its practical application scenarios;
Thread combat experience;
The first is an implicit lock: synchronized; Then a display lock appears: Reentrantlock Series interface and implementation class, then the thread pool appears,
Paired with a blocking queue (the blocking queue provides the task, which is the specific business logic to be implemented; The thread pool is responsible for providing threads to perform these tasks);
Then there is the suspension lock (synchronized's enhanced version, as if it is better than the explicit lock);
Java concurrency programming from getting started to mastering-master