ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murray, Mike" <>
Subject RE: 1.8 Performance Degradation
Date Wed, 03 Mar 2010 17:57:48 GMT
Thanks for the quick response.  I have no use of "exec" tasks in my test

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

-----Original Message-----
From: Stefan Bodewig [] 
Sent: Monday, March 01, 2010 10:22 AM
Subject: Re: 1.8 Performance Degradation

On 2010-03-01, Murray, Mike <> 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


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message