jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Bug 51919] Random ConcurrentModificationException or NoSuchElementException in CookieManager#removeMatchingCookies when using Concurrent Download
Date Sun, 02 Oct 2011 13:49:20 GMT
On 1 October 2011 14:33, Philippe Mouawad <philippe.mouawad@gmail.com> 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: dev-help@jakarta.apache.org


Mime
View raw message