jmm
JsonJ123
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Fixing the Java Memory Model, Part 1
Java theory and practice Fixing the Java Memory Model, Part 1 What is the Java Memory Model, and how was it broken in the first place? Brian Goetz Published on February 24, 2004转载 2017-07-20 10:48:54 · 558 阅读 · 0 评论 -
Fixing the Java Memory Model, Part 2
Java theory and practice Fixing the Java Memory Model, Part 2 How will the JMM change under JSR 133? Brian Goetz Published on March 30, 2004 FacebookTwitterLinked InGo转载 2017-07-20 10:50:12 · 445 阅读 · 0 评论 -
安全发布和安全初始化
https://shipilev.net/blog/2014/safe-public-construction/原创 2017-09-01 14:13:12 · 330 阅读 · 0 评论 -
ConcurrentHashMap
https://www.burnison.ca/articles/the-concurrency-of-concurrenthashmaphttps://www.ibm.com/developerworks/library/j-jtp08223/index.htmlhttp://wiki.jikexueyuan.com/project/java-collection/concurrenthashma原创 2017-09-01 18:53:44 · 172 阅读 · 0 评论 -
jmm知识点
原子性: 对象类型: 对象地址读写,原子操作 并发读不可变状态,线程安全 并发读写可变状态,非线程线程 基本类型: int,char数值读写,原子操作 long,double高低位,非原子操作 i++等组合操作,非原子操作可见性: final 初始化final字段确保可见性 volatile 读写volatile字段确保可见性 synchronized 同步块内读写字段确原创 2017-11-01 16:19:45 · 309 阅读 · 0 评论
分享