HashMap 死循环 hashmap死循环根由是hashmap非线程安全导致。sun不认为是bug,官方建议使用ConcurrentHashMap 具体示例: http://coolshell.cn/articles/9606.html