Skip to content

Commit 21e77e0

Browse files
committed
ConcurrentHashMap 完善
1 parent d0093d3 commit 21e77e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MD/ConcurrentHashMap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ConcurrentHashMap 实现原理
22

3-
由于 `HashMap` 是一个线程不安全的容器,主要体现在容量大于`总量*负载因子`发送扩容时会出现环形链表从而导致死循环
3+
由于 `HashMap` 是一个线程不安全的容器,主要体现在容量大于`总量*负载因子`发生扩容时会出现环形链表从而导致死循环
44

55
因此需要支持线程安全的并发容器 `ConcurrentHashMap`
66

0 commit comments

Comments
 (0)