When profiling my application, I noticed that creating instances of XMLInputFactory over and over is very expensive. Is it safe to share its instances across multiple threads?
The javadoc doesn't say anything about its thread-safety and searching the internet doesn't give a definite answer!