Skip to content

Commit

Permalink
add more artical
Browse files Browse the repository at this point in the history
  • Loading branch information
hekuangsheng committed Dec 8, 2020
1 parent 6f61cdc commit 7a9bd8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions WeChat_Blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
[Java ConcurrentHashMap 高并发安全实现原理解析](https://mp.weixin.qq.com/s/4sz6sTPvBigR_1g8piFxug)

[java.util.ConcurrentModificationException详解](https://www.jianshu.com/p/c5b52927a61a)
> 迭代ArrayList的Iterator中有一个变量expectedModCount,该变量会初始化和modCount相等,但如果接下来如果集合进行修改modCount改变,就会造成expectedModCount!=modCount
Iterator的remove会修改expectedModCount,对单线程有用多线程无用
> 迭代ArrayList的Iterator中有一个变量expectedModCount
该变量会初始化和modCount相等,但如果接下来如果集合进行修改modCount改变,就会造成expectedModCount!=modCount
Iterator的remove会修改expectedModCount,对单线程有用多线程无用

[Java并发编程:并发容器之CopyOnWriteArrayList](http://www.cnblogs.com/dolphin0520/p/3938914.html)
CopyOnWrite容器也是一种读写分离的思想,读和写不同的容器
Expand Down

0 comments on commit 7a9bd8e

Please sign in to comment.