playframework/playframework

`Play.XML` should use ThreadLocal SAXParser

Aperta

#6939 aperta il 4 feb 2017

 (9 commenti) (0 reazioni) (0 assegnatari)Scala (4032 fork)batch import
help wanted

Metriche repository

Star
 (12.623 stelle)
Metriche merge PR
 (Merge medio 10g 17h) (69 PR mergiate in 30 g)

Descrizione

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.

Guida contributor