File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,10 @@ public class Singleton {
83
83
# 3.JAVA内存模型
84
84
## 按需禁用缓存以及编译优化 [ 代码来源] ( http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html )
85
85
86
- * ##volatile
86
+ * ## volatile
87
87
* [ 代码示例] ( https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/volatileExample/VolatileExample.java )
88
88
89
- * ##synchronized
89
+ * ## synchronized
90
90
* [ 代码示例] ( https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/synchronizedEx/SynchronizedExample.java )
91
91
92
92
```
@@ -106,7 +106,7 @@ public class Singleton {
106
106
}
107
107
108
108
```
109
- * ##final
109
+ * ## final
110
110
111
111
* [代码示例](https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/finalEx/FinalExample.java)
112
112
@@ -124,7 +124,7 @@ public class Singleton {
124
124
125
125
```
126
126
127
- * ##Happens-Before六大规则
127
+ * ## Happens-Before六大规则
128
128
1. **程序的顺序性规则**
129
129
130
130
`程序前面对某个变量的修改一定是对后续操作可见的。`
You can’t perform that action at this time.
0 commit comments