Please enable JavaScript.
Coggle requires JavaScript to display documents.
03-Concurrency 學習總結 - Coggle Diagram
03-Concurrency 學習總結
併發工具類
Thread 間如何協作
AbstractQueuedSynchronizer
Semaphore
CountdownLatch
CyclicBarrier
Future/FutureTask/CompletableFuture
Thread-safe
原子性
可見性
有序性
Happens-before 原則
Java 關鍵字
volatile
synchronized
final
Thread Pool
Excutor
ExcutorService
ThreadFactory
ThreadPoolExecutor
Excutors
Lock
為什麼需要 Lock
讀寫鎖
用鎻最佳實踐
併發相關內容
ThreadLocal
併行 Stream
偽併發
併發經驗總結
加鎖需考慮的問題
粒度
性能
重入
公平
自旋鎻
場景
Thread 間協作與通訊
共享
static / 實體變數
Lock
synchronized
協作
Thread#join()
Object#wait/notify/notifyAll
Future/Callable
CountdownLatch
CyclicBarrier
思考
不同 process 間有哪些通訊方式
Multi-thread
Java Thread 依賴 OS 的 Thread
Java Multi-thread
Thread 狀態
Runnable
Running
Non-Runnable
Terminated
Thread Class 方法
Object#wait()
釋放鎻
sleep()
釋放 CPU 但不釋放鎻
常見 Thread-safe 類別
CopyOnWriteArrayList
ConcurrentHashMap
JUC
java.util.concurrency
Locks
Atomic
Executor
Collections
併發原子類
無鎻技術
Unsafe API
CPU 指令
Value 可見性