Thanks for the quick response.  I have no use of "exec" tasks in my test
scenario.

VisualVM showed that AntClassLoader.getCertificates() was sucking up all
the time.  If I revert AntClassLoader.defineClassFromData() to what it
was in 1.7.1, it resolves the performance problem.

Thanks, Mike

http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/an
t/AntClassLoader.java?r1=796649&r2=796702

-----Original Message-----
From: Stefan Bodewig [mailto:bode...@apache.org] 
Sent: Monday, March 01, 2010 10:22 AM
To: user@ant.apache.org
Subject: Re: 1.8 Performance Degradation

On 2010-03-01, Murray, Mike <m...@ptc.com> wrote:

> Has anyone else noticed a degradation with 1.8.0?

Yes, for any <exec> type of task on Windows (this includes, for example,
<attrib>) that used to take way less than a second.

Currently each such <exec> takes at least a second (give or take a few
millis) so if you are using a lot of little <exec>s this will sum up.

The reason behind this is that Ant 1.7.1's logic could make processes
hang on Windows and the revised logic involves timed joins to simulate
async reads.  We may get through with making the sleep interval a little
bit smaller in future versions - or we may find a better fix for
<https://issues.apache.org/bugzilla/show_bug.cgi?id=5003>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to