Commit 0148231
committed
fix(java容器): jdk1.8,HashMap源码,HashMap扩容条件描述修改
原文:链表长度大于阈值(默认为 8),HashMap 数组长度超过 64。但是其实不是大于和超过,等于这个阈值也会扩容1 parent 8583581 commit 0148231
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments