Re: [Bug 51919] Random ConcurrentModificationException or NoSuchElementException in CookieManager#removeMatchingCookies when using Concurrent Download

sebb <[email protected]> Sun, 2 Oct 2011 14:49:20 +0100
Newsgroups gmane.comp.jakarta.cactus.devel
Message-ID <CAOGo0VbO968Pg5V_Kp49AO-4ZzLm6QfVLBbpcvX2SC=eYaD6dA@mail.gmail.com>
On 1 October 2011 14:33, Philippe Mouawad <[email protected]> wrote:
> A little additional note,
> There is an implementation of Concurrent map by doug lea in concurrent.jar
> called ConcurrentReaderHashMap
> that has same performance as HashMap in read and a little less on write.
> But performances are much better than ConcurrentHashMap.
> So maybe a better alternative but requires concurrent-1.3.4.jar from:
>
>   -
>   http://g.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html
>

That looks interesting, however the licensing is not at all clear to
me, and AFAICT we would only want the one class, not the entire jar.

So it's quite a lot of extra complication for what is just a local optimisation.