You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <ty...@gmail.com> on 2014/03/25 15:17:41 UTC
AntClassLoader performance problem
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