Thread safe Hash Map?

后端 未结 3 1008
盖世英雄少女心
盖世英雄少女心 2020-12-04 11:04

I am writing an application which will return a HashMap to user. User will get reference to this MAP. On the backend, I will be running some threads which will update the Ma

3条回答
  •  暖寄归人
    2020-12-04 12:02

    Side Note:

    You might want to look into the lock free hash table implementation by Cliff Click, it's part of the Highly Scalable Java library

    (Here's a Google Talk by Cliff Click about this lock free hash.)

提交回复
热议问题