Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 10581 invoked from network); 30 Apr 2008 08:19:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 08:19:38 -0000 Received: (qmail 31878 invoked by uid 500); 30 Apr 2008 08:19:39 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 31845 invoked by uid 500); 30 Apr 2008 08:19:39 -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 31834 invoked by uid 99); 30 Apr 2008 08:19:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 01:19:39 -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.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 08:18:54 +0000 Received: by py-out-1112.google.com with SMTP id a25so476642pyi.13 for ; Wed, 30 Apr 2008 01:19:08 -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=t7zTKmu9ykLzQ4aEi6hh7x1l1EopFt9dvHKbwJpPyFk=; b=avdoN9epjU7bVI+I9zWc3sQu8eMMI/X8zBdhySQ22pYFlYkeeetMvx4eOap06UNQJspGIxebrQV5iBlhE8286YDSRJYTFLfizJDNk+07qiX02Ky2kOTiljGNxurTXjqmfyX3fezjq5HYArBQS+KZexrghkoTy9ddMxQwq4xuhAs= 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=lf7T5MkAf7zmUBb9myRs5HWE8Mjrw33lf+tFRQsjBmBhwIW/U7hHoCZo2aBX/uDHwyulxOEaSriTIUmc//Out0mPXDVmJwO6bmxYmPtPLvCEzljOPnFcLGAPJopYtlXXwJIhyXcHO1n4mF/I7yuAU3K8N+cIZzEsDzLRxrIOU/E= Received: by 10.141.190.9 with SMTP id s9mr184236rvp.110.1209543547714; Wed, 30 Apr 2008 01:19:07 -0700 (PDT) Received: by 10.141.142.20 with HTTP; Wed, 30 Apr 2008 01:19:07 -0700 (PDT) Message-ID: <4bebff790804300119n7c442604p612e84785d61069d@mail.gmail.com> Date: Wed, 30 Apr 2008 12:19:07 +0400 From: "Aleksey Shipilev" To: dev@harmony.apache.org Subject: Re: [classlib][luni][performance] *HashMap cleanup and optimization (was: Re: [classlib][luni][performance] IdentityHashMap implementation) In-Reply-To: <3b3f27c60804291721u897f98fo243fb52cde9e67b9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4bebff790804240845n10e307f3uffce5749accc849b@mail.gmail.com> <4bebff790804241431m282af26fxed0eeab1fbd2147c@mail.gmail.com> <4bebff790804280203g60797858u7eaa7dfa069bd215@mail.gmail.com> <4bebff790804282349y61180e92l45c122b4919e8a13@mail.gmail.com> <3b3f27c60804291721u897f98fo243fb52cde9e67b9@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Nathan, Is there an option to commit this patch before code freeze starts (if not already)? The changes there are pretty trivial and I could proceed with IdentityHashMap works while M6 is under testing. Thanks, Aleksey. On Wed, Apr 30, 2008 at 4:21 AM, Nathan Beyer wrote: > Bring this back up after the milestone is complete. > > -Nathan > > On Tue, Apr 29, 2008 at 1:49 AM, Aleksey Shipilev < > > aleksey.shipilev@gmail.com> wrote: > > > > Hi, > > > > > I see the plan is following: > > > 1. Sweep the HashMap implementation and make the source beatuful: add > > > necessary comments, re-layout class members. > > > 2. Test-commit-test sweeped HashMap implementation and see there are > > > no breakages. > > > 3. Remove legacy IdentityHashMap and copy HashMap over it (using svn > > > capabilities) > > > 4. Transform new IdentityHashMap to real IdentityHashMap (hashCode -> > > > identityHashCode, equals -> == and stuff) > > > 5. Test-commit-test new IdentityHashMap. > > > > It seems like we had stuck on (1) point on our plan, there is a patch > > already in HARMONY-5791, and we need to review it before moving > > towards actual performance works. LUNI/Collections gurus (Jimmy, > > Mark, Nathan, Tim?), please review it so I can proceed in my efforts. > > :) > > > > Thanks, > > Aleksey. > > > > > > On Mon, Apr 28, 2008 at 1:03 PM, Aleksey Shipilev > > > > > > wrote: > > > Hi again, > > > > > > Can some classlib guru review HARMONY-5791? > > > > > > Thanks, > > > Aleksey. > > > > > > On Fri, Apr 25, 2008 at 1:31 AM, Aleksey Shipilev > > > > > > > > > > > > > > wrote: > > > > Mark, > > > > > > > > That's great there are no regressions on Commons-collections tests! > > > > BTW, can we adopt them as the part of BTI or luni tests? > > > > > > > > I had created HARMONY-5791 for HashMap cleanup, and there's a first > > > > patch already, can you please take a look? I had extracted the > > > > contract-related methods there, so the change to IdentityHashMap > > > > should be pretty straightforward. After we finish with this issue, I > > > > could provide the clean script/patch for IdentityHashMap changes. > > > > > > > > Thanks, > > > > Aleksey. > > > > > > > > > > > > > > >