diff --git a/docs/java/collection/concurrent-hash-map-source-code.md b/docs/java/collection/concurrent-hash-map-source-code.md index 015077ca..4ac07bbd 100644 --- a/docs/java/collection/concurrent-hash-map-source-code.md +++ b/docs/java/collection/concurrent-hash-map-source-code.md @@ -419,7 +419,7 @@ public V get(Object key) { private final Node[] initTable() { Node[] tab; int sc; while ((tab = table) == null || tab.length == 0) { - // 如果 sizeCtl < 0 ,说明另外的线程执行CAS 成功,正在进行初始化。 + // 如果 sizeCtl < 0 ,说明另外的线程执行CAS 成功,正在进行初始化。 if ((sc = sizeCtl) < 0) // 让出 CPU 使用权 Thread.yield(); // lost initialization race; just spin