ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45965] New: Excessive allocation in CBZip2OutputStream.java
Date Wed, 08 Oct 2008 09:35:26 GMT
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.

Mime
View raw message