From c65343fc6ab86682a343929bf349b8def6b68c12 Mon Sep 17 00:00:00 2001 From: ReedZheng Date: Tue, 14 Feb 2023 10:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8ConcurrentHashMap=E4=B8=ADsiz?= =?UTF-8?q?eCtl=E6=95=B0=E5=80=BC=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/java/collection/concurrent-hash-map-source-code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/java/collection/concurrent-hash-map-source-code.md b/docs/java/collection/concurrent-hash-map-source-code.md index 9ddcc562..4f15a139 100644 --- a/docs/java/collection/concurrent-hash-map-source-code.md +++ b/docs/java/collection/concurrent-hash-map-source-code.md @@ -444,8 +444,8 @@ private final Node[] initTable() { 1. -1 说明正在初始化 2. -N 说明有N-1个线程正在进行扩容 -3. 表示 table 初始化大小,如果 table 没有初始化 -4. 表示 table 容量,如果 table 已经初始化。 +3. 0 表示 table 初始化大小,如果 table 没有初始化 +4. \>0 表示 table 扩容的阈值,如果 table 已经初始化。 ### 3. put