Fork me on GitHub
摘要: 出现背景 1、线程不安全的HashMap 因为多线程环境下,使用Hashmap进行put操作会引起死循环,导致CPU利用率接近100%,所以在并发情况下不能使用HashMap。 阅读全文
posted @ 2021-01-19 16:11 kelexin 阅读(174) 评论(0) 推荐(1) 编辑