in java 1.8,

 

hashmap may have thread unsafe problem while in 1.7 hashmap may have dead loop.

 

Hashmap  involves in link to tree node and trr node to list node. / 红黑树 

 

when memory is not enough,, it will come across memory in sufficient. it have threhold (like buffer) and double size the memory.

 

posted on 2020-05-11 22:03  connie313  阅读(79)  评论(0编辑  收藏  举报