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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to