摘要: ConcurrentHashMap是线程安全的HashMap的实现,具有更加高效的并发性。与HashTable不同,ConcurrentHashMap运用锁分离技术,尽量减小写操作时加锁的粒度,即在写操作时,不用对整个ConcurrentHashMap加锁。为了实现,ConcurrentHash... 阅读全文
posted @ 2015-09-25 10:23 sunp823 阅读(155) 评论(0) 推荐(0) 编辑