mirror of
https://github.com/youthlql/JavaYouth.git
synced 2026-03-14 22:03:43 +08:00
JVM第八,九章
This commit is contained in:
@@ -692,7 +692,7 @@ public class VolatileExample {
|
||||
|
||||
- 在每个volatile写操作的后面插入一个StoreLoad屏障。
|
||||
|
||||
- 在每个volatile读操作的后面插入一个LoadLoad屏障。
|
||||
- 在每个volatile读操作的前面插入一个LoadLoad屏障。
|
||||
|
||||
- 在每个volatile读操作的后面插入一个LoadStore屏障。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user