juc

并发迭代的时候,用CopyOnWriteArrayList,有写操作时,效率低。

并发访问一个给定的collection时,ConcurrentHashMap比HashMap好,ConcurrentSkipListMap优于TreeMap,

posted @ 2017-03-08 17:34  Orc_Warrior  阅读(105)  评论(0编辑  收藏  举报