From dev-return-33729-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Mon Apr 21 12:52:47 2008 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 60042 invoked from network); 21 Apr 2008 12:52:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2008 12:52:47 -0000 Received: (qmail 98460 invoked by uid 500); 21 Apr 2008 12:52:48 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 97913 invoked by uid 500); 21 Apr 2008 12:52:47 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 97904 invoked by uid 99); 21 Apr 2008 12:52:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 05:52:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aleksey.shipilev@gmail.com designates 64.233.184.234 as permitted sender) Received: from [64.233.184.234] (HELO wr-out-0506.google.com) (64.233.184.234) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 12:52:01 +0000 Received: by wr-out-0506.google.com with SMTP id c46so1156550wra.18 for ; Mon, 21 Apr 2008 05:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=kNMoD3Ptu23BP8yyja1+xjBo7IfQFq/p0r9RWKUknCk=; b=No12qZm2rWRwdupcaOi3pm3cpjSpsBnUHPCJ1iMaa3J5sMTK4Dr1S0NCm3pHd/1gG6S1nAiq4zLCs4IVJdg6rhvojcl2i5hWf+gV6JTGfUINykTy2/eYiESxX7hfmdgn3wK3K0OhWx3elh6rYu/VWgF2lilWiSWz6drmcoGPvIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kxzl8bhmVLjQEDejB6AIMC0fVntH02dbYpxNlajfCnPY1iCmwJ4pdd8kg0WFIG341gXHvhoR25oh4WKZMawWlc0eEG82UH1L+MJDMsrSJnalHrqP8sxqnsncy5EsO7UOTwFIedU6ZvaWK5cMnKsyRgHe4SKBV5U2sxAVj8q8XBc= Received: by 10.140.142.6 with SMTP id p6mr3188246rvd.224.1208782333570; Mon, 21 Apr 2008 05:52:13 -0700 (PDT) Received: by 10.140.141.1 with HTTP; Mon, 21 Apr 2008 05:52:13 -0700 (PDT) Message-ID: <4bebff790804210552k13ed10a1u1a0daf4d43e33c43@mail.gmail.com> Date: Mon, 21 Apr 2008 16:52:13 +0400 From: "Aleksey Shipilev" To: dev@harmony.apache.org Subject: Re: [classlib][luni][performance] IdentityHashMap implementation In-Reply-To: <480C8D85.8040705@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4bebff790804181153w61231384y436c4c4aa9500ba4@mail.gmail.com> <728dc7fa0804181201n9debd8i4ea43f1e95bf236f@mail.gmail.com> <480C8D85.8040705@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Right, Tim. It was just the proof-of-concept "Does IdentityHashMap tuning worth it?". On Mon, Apr 21, 2008 at 4:50 PM, Tim Ellison wrote: > Sergey Salishev wrote: > > > It also should be noticed that replacing the IdentityHashMap with HashMap > in > > Thread impl gives 4.5x boost on ThreadLocalBench. > > > > But it would be wrong since it opens a security vulnerability. > > See: > http://markmail.org/message/rwq3kif5n33wp65m > http://svn.apache.org/viewvc?view=rev&revision=477355 > > > Regards, > Tim >