Concurrency
Table of contents
- Java Memory Model
- Threads
- Concurrent Data Classes
- Classic Concurrency Control
- New Approach to Concurrency
- Cost of Concurrency
- Miscellaneous
Java Memory Model
🚧 Pending 🚧
Threads
Image copied from: Theory: Operating Systems and Code Execution
🚧 Pending 🚧
Daemons
🚧 Pending 🚧
Waiting for a thread to finish (Join)
🚧 Pending 🚧
ThreadLocal
🚧 Pending 🚧
Stale Caches
🚧 Pending 🚧
Race Conditions
🚧 Pending 🚧
Methods that should never be used.
🚧 Pending 🚧
stop()
suspend()
Concurrent Data Classes
🚧 Pending 🚧
Primitive Wrappers
🚧 Pending 🚧
List
🚧 Pending 🚧
Set
🚧 Pending 🚧
Map
🚧 Pending 🚧
Queue
🚧 Pending 🚧
Exchanger
🚧 Pending 🚧
Classic Concurrency Control
Volatile
🚧 Pending 🚧
Synchronized
🚧 Pending 🚧
Deadlocks
🚧 Pending 🚧
New Approach to Concurrency
Executors and Schedulers
🚧 Pending 🚧
Lock and ReentrantLock
🚧 Pending 🚧
Latch
🚧 Pending 🚧
CyclicBarrier
🚧 Pending 🚧
Fork Join Framework
🚧 Pending 🚧
Cost of Concurrency
Cost of context switching
🚧 Pending 🚧
Miscellaneous
InterruptedException
- Flow