Question about atomicity in ConcurrentHashMap
spullara at gmail.com
Thu May 23 09:57:17 PDT 2013
Probably. The current lambda version doesn't look like that at all.
On May 23, 2013, at 9:47 AM, Gernot Neppert <mcnepp02 at googlemail.com> wrote:
> Am 23.05.2013 18:34, schrieb Sam Pullara:
>> ConcurrentHashMap overrides computeIfAbsent and does something that will not compute more than once. However, it appears that they suggest not doing anything expensive as other operations on the map may block during the computation.
> No, it doesn't - that's why I started this thread in the first place ;-)
> I'm using the Win32 snaphot of build 90. Maybe it's just the source bundle in the JDK snapshot that has not been updated?!
More information about the lambda-dev