badh
Programmer
- Feb 21, 2009
- 1
We have many threads that use XML parsers - both SAX and DOM very frequently. Most of the time, our threads are waiting on the class loader and hence get queued up. We have also a lot of EJB calls that also use the same class loader and are waiting. This slows down our application a lot.
The main reason for this is that the loadclass method is synchronized.
Has anybody faced this and have a solution to this?
The main reason for this is that the loadclass method is synchronized.
Has anybody faced this and have a solution to this?