ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: AW: ant really slow, 100% CPU?
Date Thu, 20 Sep 2007 14:13:00 GMT

And, some minutes later, we're still in the same state

"main" prio=10 tid=0x0000000040112c00 nid=0x42cf runnable 
[0x0000000040229000..0x000000004022aec0]
    java.lang.Thread.State: RUNNABLE
         at java.util.Vector.contains(Vector.java:320)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:105)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.taskdefs.Property$PropertyResolver.evaluate(Property.java:110)
         at 
org.apache.tools.ant.PropertyHelper.getProperty(PropertyHelper.java:787)
         - locked <0x00002aaab4013548> (a 
org.apache.tools.ant.PropertyHelper)
         at 
org.apache.tools.ant.PropertyHelper.parseNextProperty(PropertyHelper.java:541)
         at 
org.apache.tools.ant.PropertyHelper.parseProperties(PropertyHelper.java:502)
         at 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:390)
         - locked <0x00002aaab3f5ea38> (a 
org.apache.tools.ant.RuntimeConfigurable)
         at 
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:349)
         at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
         at 
org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:193)
         at 
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
         at org.apache.tools.ant.Task.perform(Task.java:347)
         at org.apache.tools.ant.Target.execute(Target.java:354)
         at org.apache.tools.ant.Target.performTasks(Target.java:379)
         at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1324)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1293)
         at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1176)
         at org.apache.tools.ant.Main.runBuild(Main.java:758)
         at org.apache.tools.ant.Main.startAnt(Main.java:217)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)


Property/PropertyHelper is the part of the system that has lots of 
Delegates changes in it. This looks suspiciously like an infinite loop 
kicking in, even though the stack code in Property.evaluate() appears 
designed to stop this kind of thing.

I'm rolling back to Ant1.7.0. Something is broken, and it is breaking my 
new machine. Which, having 4 cpus, is probably more prone than others to 
concurrency problems.

-steve



-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message