这是RedSpider社区成员原创与维护的Java多线程系列文章。
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
NahFang opened this issue 2 years ago · comments
原理篇中 happens - before 章节中的最后,JMM对于重排序的策略中存在笔误,可能是作者当时急于表达对于改变结果的重排序的禁止,从而double禁止变为了允许。哈哈哈哈~
最新版本应该已经订正了。http://concurrent.redspider.group/article/02/7.html