org.eclipse.jetty.annotations.AnnotationParser uses a List to store the names of classes it has already seen – this list is then linearly searched.
During deployment of our war, jetty spends 30 seconds in ArrayList.indexOf as a result.
Replacing the ArrayList with a HashSet dropped deploy times by nearly 30 seconds.
I've moved this across to the jetty issue tracker at Eclipse here:
This issue tracker has been closed for new issues since jetty moved to Eclipse a couple of years back (but unfortunately we can't stop people raising new issues on jira).
Thanks – didn't realize that.
Bugzilla, huh? How 1999 ;-(
Oh yes ... I miss jira