>
> http://gwt-code-reviews.appspot.com/102819/diff/1/7#newcode80
> Line 80:
> On 2009/11/16 19:51:53, amitmanjhi wrote:
>
>> use ConcurrentHashMap? Can avoid the lock.
>>
>
> I don't believe so, as you have to hold the lock across
> containsKey/get/put.
>
>
Wouldn't putIfAbsent(..) work?

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to