playframework/playframework
View on GitHub`Play.XML` should use ThreadLocal SAXParser
Open
#6,939 opened on Feb 4, 2017
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.