Skip to content

Commit 925ba46

Browse files
author
zhangml
committed
mark down
1 parent 3a190e6 commit 925ba46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

READEME.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public class Singleton {
8383
# 3.JAVA内存模型
8484
## 按需禁用缓存以及编译优化 [代码来源](http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html)
8585

86-
* ##volatile
86+
* ## volatile
8787
* [代码示例](https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/volatileExample/VolatileExample.java)
8888

89-
* ##synchronized
89+
* ## synchronized
9090
* [代码示例](https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/synchronizedEx/SynchronizedExample.java)
9191

9292
```
@@ -106,7 +106,7 @@ public class Singleton {
106106
}
107107
108108
```
109-
* ##final
109+
* ## final
110110
111111
* [代码示例](https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/finalEx/FinalExample.java)
112112
@@ -124,7 +124,7 @@ public class Singleton {
124124
125125
```
126126
127-
* ##Happens-Before六大规则
127+
* ## Happens-Before六大规则
128128
1. **程序的顺序性规则**
129129
130130
`程序前面对某个变量的修改一定是对后续操作可见的。`

0 commit comments

Comments
 (0)