[jboss-dev-forums] [Design of POJO Server] - Re: Strange classloading behavior -- thread stuck
adrian@jboss.org
do-not-reply at jboss.com
Tue Feb 3 14:09:05 EST 2009
"adrian at jboss.org" wrote : I think I know what the problem is, but if I'm correct it will be very difficult to reproduce the problem.
|
The reason I think it will be difficult to reproduce the problem is because
I think this only occurs when you hit the ClassCircularity bug.
The releaseInNextTask == true means that it got a temporary lock on the classloader.
Its not the original classloader used to initiate the classloading attempt.
This can only occur if the thread owns the classloader so it should in normal circumstances be able to complete the task, release the classloader and reschedule back the other requests.
If however, it hits the ClassCircularity problem (see the catch block just above the unlock), it will reschedule that task. So when it does the unlock, it will loop
on the reassignment of the task back to the same thread.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206700#4206700
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206700
More information about the jboss-dev-forums
mailing list