Return-Path: X-Original-To: apmail-jakarta-dev-archive@minotaur.apache.org Delivered-To: apmail-jakarta-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EAF7A74A1 for ; Sun, 2 Oct 2011 13:49:52 +0000 (UTC) Received: (qmail 57277 invoked by uid 500); 2 Oct 2011 13:49:52 -0000 Delivered-To: apmail-jakarta-dev-archive@jakarta.apache.org Received: (qmail 57212 invoked by uid 500); 2 Oct 2011 13:49:52 -0000 Mailing-List: contact dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jakarta.apache.org Delivered-To: mailing list dev@jakarta.apache.org Received: (qmail 57204 invoked by uid 99); 2 Oct 2011 13:49:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 13:49:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 13:49:45 +0000 Received: by vcbfo11 with SMTP id fo11so3508191vcb.31 for ; Sun, 02 Oct 2011 06:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=cEs8GvDgf/tRD0XsLa77u+C7QrWhBjtUc+WIuGp9SzY=; b=HfGyP6w2+966kW6xYahrE+VIR+4rh0Tj+Fd1XT6zlRyExusWgfaytQL3OJ7jlaUhvk WGyI2pFa08PXZ+Nx75tj3g+r0CtX47l+FIo5TT//Ts6PTycpS9T+d7jwDrbtFatve8kT A+23bM8PHCJrgfMxP6LCFQEyjmiD98fqmO/zA= MIME-Version: 1.0 Received: by 10.220.213.132 with SMTP id gw4mr4059864vcb.52.1317563360651; Sun, 02 Oct 2011 06:49:20 -0700 (PDT) Received: by 10.220.155.147 with HTTP; Sun, 2 Oct 2011 06:49:20 -0700 (PDT) In-Reply-To: References: Date: Sun, 2 Oct 2011 14:49:20 +0100 Message-ID: Subject: Re: [Bug 51919] Random ConcurrentModificationException or NoSuchElementException in CookieManager#removeMatchingCookies when using Concurrent Download From: sebb To: dev@jakarta.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 1 October 2011 14:33, Philippe Mouawad wrot= e: > A little additional note, > There is an implementation of Concurrent map by doug lea in concurrent.ja= r > 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: > > =A0 - > =A0 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 optimisa= tion. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: dev-help@jakarta.apache.org