Home / cs-notes / Language / Java / JVM / JMM / Memory Barriers
Catogories
LoadLoad Barriers
The sequence: Load1; LoadLoad; Load2
StoreStore Barriers
The sequence: Store1; StoreStore; Store2
LoadStore Barriers
The sequence: Load1; LoadStore; Store2
StoreLoad Barriers
The sequence: Store1; StoreLoad; Load2
Volatile
volatile write
- StoreStore Barrier
- Volatile Store (Write)
- StoreLoad Barrier
volatile read
- Volatile Load (Read)
- LoadLoad Barrier
- LoadStore Barrier