ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <typr...@gmail.com>
Subject AntClassLoader performance problem
Date Tue, 25 Mar 2014 14:17:41 GMT
Just an FYI that resource loading in AntClassLoader can be extremely
inefficient; this change

https://github.com/jenkinsci/jenkins/commit/9a2882dd704bece9b7ca51a52347dad15d79f843#diff-8350d999dfd5b0afa845690062db133fR250

in a modular system resulted in a 2–3 order of magnitude (!)
improvement in resource lookup times.

https://issues.jenkins-ci.org/browse/JENKINS-22310?focusedCommentId=197405&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-197405

has an explanation. (I am not convinced that patch is the right
solution; perhaps it is the findResources method which should be
corrected, or perhaps Jenkins is misusing ACL.)

Whether this would really affect Ant builds is dubious; the problem
arises when you have a DAG of class loaders with a lot of alternate
pathways to the root.

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


Mime
View raw message