Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 92503 invoked from network); 8 Oct 2008 09:35:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2008 09:35:47 -0000 Received: (qmail 72121 invoked by uid 500); 8 Oct 2008 09:35:46 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 72093 invoked by uid 500); 8 Oct 2008 09:35:46 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 72084 invoked by uid 99); 8 Oct 2008 09:35:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 02:35:46 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 09:34:50 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id C291D234C210; Wed, 8 Oct 2008 02:35:26 -0700 (PDT) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 45965] New: Excessive allocation in CBZip2OutputStream.java X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: mick.francis@deltascheme.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 8 Oct 2008 02:35:26 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45965 Summary: Excessive allocation in CBZip2OutputStream.java Product: Ant Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Core AssignedTo: notifications@ant.apache.org ReportedBy: mick.francis@deltascheme.com In qSort3, a stack of StackElem objects is allocated. This method is called many times per run. The stack should be allocated once in the calling method (mainSort), outside of the nested loops, and passed into qSort3. JProfiler showed that around 50% of time and allocation was down to this in some cases. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.