Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

threads waiting on changeawareclassloader

Status
Not open for further replies.

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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top