Java concurrency Architecture
- Concurrent Programming
- Thread Communication
- Shared Memory and message passing
- Thread Synchronization
- Control the execution sequence of different threads
- Java concurrency
- Based on the shared memory model
- Command Re-sorting
- Compiler re-sorting
- Processor re-sorting
- Cpu re-sorting
- Write cache area (cache, register)
- Memory barrier
- Order consistency and Happens-before
- Execution result orderliness
- Volatile
- Solve memory visibility problems
- Lock
- Lock display lock
- Resumable
- Timed
- Synchronize built-in lock
- Underlying operating system
- Non-disruptive
- Atomic variable
- Final principles
References
Foreign: http://gee.cs.oswego.edu/dl/jmm/cookbook.html
Http://www.cs.umd.edu /~ API/java/memoryModel/jsr-133-faq.html.
Http://www.cs.umd.edu /~ API/java/memoryModel/
China
Http://ifeve.com/java-memory-model-0/
Http://www.infoq.com/cn/articles/memory_barriers_jvm_concurrency