Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 58876 invoked from network); 28 Jun 2006 10:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2006 10:59:06 -0000 Received: (qmail 2638 invoked by uid 500); 28 Jun 2006 10:59:06 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 2596 invoked by uid 500); 28 Jun 2006 10:59:06 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 2583 invoked by uid 99); 28 Jun 2006 10:59:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 03:59:06 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 03:59:05 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2C169410005 for ; Wed, 28 Jun 2006 10:57:30 +0000 (GMT) Message-ID: <27457653.1151492250162.JavaMail.jira@brutus> Date: Wed, 28 Jun 2006 10:57:30 +0000 (GMT+00:00) From: "George Harley (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-684) performance improvement for TreeMap and TreeSet classes In-Reply-To: <13635951.1151479649814.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-684?page=all ] George Harley resolved HARMONY-684: ----------------------------------- Resolution: Fixed Hi Vladimir, Patch committed in revision 417719. Please could you verify that it has been applied as expected. Thanks very much for this enhancement. Best regards, George > performance improvement for TreeMap and TreeSet classes > ------------------------------------------------------- > > Key: HARMONY-684 > URL: http://issues.apache.org/jira/browse/HARMONY-684 > Project: Harmony > Type: Improvement > Components: Classlib > Reporter: Vladimir Strigun > Assignee: George Harley > Priority: Minor > Attachments: Harmony-684.patch > > I'd like to suggest performance improvement for TreeMap and TreeSet classes. With the patch I have ~2.8% boost on SPECjbb2005. > Description of the patch: > Instead of one common TreeMap iterator for all cases, 9 new iterators are used. The main effect is that for generic iterator yet another object was created (type getter). And when the iterator was created - two objects were allocated: iterator & getter. This is not effective. Creation several specialized iterator classes allows to reduce amount of allocated objects. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira