You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by davidkarlsen <da...@davidkarlsen.com> on 2008/09/16 21:20:54 UTC

Bad performance / race condition?

Hi folks - I've been helping some people with some production problems, and
when we do thread dumps, there are mysteriosly many threads hanging on:

   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
   at
org.apache.xalan.extensions.ExtensionHandler.getClassForName(ExtensionHandler.java:133)
   at
org.apache.xalan.extensions.ExtensionHandlerJavaClass.<init>(ExtensionHandlerJavaClass.java:121)
   at
org.apache.xalan.extensions.ExtensionsTable.<init>(ExtensionsTable.java:106)
   at org.apache.xpath.XPathContext.<init>(XPathContext.java:423)
   at org.apache.xpath.XPathAPI.eval(XPathAPI.java:268)
   at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:172)


I know - this is very little context to work on - but it seems a little odd?
We're not using any "extension-element-prefixes" AFAIK - and attempting a
lot of classloading on each and every request seems very expensive.

Any thoughts?

-----
http://www.davidkarlsen.com
-- 
View this message in context: http://www.nabble.com/Bad-performance---race-condition--tp19518724p19518724.html
Sent from the Xalan - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org