ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45965] New: Excessive allocation in
Date Wed, 08 Oct 2008 09:35:26 GMT

           Summary: Excessive allocation in
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message