playframework/playframework

`Play.XML` should use ThreadLocal SAXParser

Open

#6,939 opened on Feb 4, 2017

View on GitHub
 (9 comments) (0 reactions) (0 assignees)Scala (4,032 forks)batch import
help wanted

Repository metrics

Stars
 (12,623 stars)
PR merge metrics
 (Avg merge 10d 17h) (69 merged PRs in 30d)

Description

Apache xerces uses a lot of Class.forName to create SaxParser object, which will call ClassLoader.loadClass for every xml parsing.

And this will block each other, then leads to bad performance for a high load system.

Contributor guide