Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Mark Baker (distobj)
Assigned to: Greg Wilkins (gregwilkins)
Summary: ContextLoader deadlocking
We've observed a deadlock condition when multiple
threads are classloading while using SableVM. We
traced this to what seems like over-eager
synchronization in org.mortbay.http.ContextLoader,
combined with how GNU Classpath implements
classloading. If we remove the synchronized keyword
from the loadClass() definitions, the problem goes
away. We also removed synchronization from getResource().
This is with SableVM 1.1.5 and Jetty 4.2.20 on