HashMap不是线程安全的,ConcurrentHashMap是线程安全的。


参考资料:

http://www.ibm.com/developerworks/cn/java/j-jtp07233/

http://www.iteye.com/topic/344876