![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 501 阅读 · 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 · 384 阅读 · 0 评论 -
安全发布和安全初始化
https://shipilev.net/blog/2014/safe-public-construction/原创 2017-09-01 14:13:12 · 286 阅读 · 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 · 144 阅读 · 0 评论 -
jmm知识点
原子性: 对象类型: 对象地址读写,原子操作 并发读不可变状态,线程安全 并发读写可变状态,非线程线程 基本类型: int,char数值读写,原子操作 long,double高低位,非原子操作 i++等组合操作,非原子操作可见性: final 初始化final字段确保可见性 volatile 读写volatile字段确保可见性 synchronized 同步块内读写字段确原创 2017-11-01 16:19:45 · 266 阅读 · 0 评论