But where I do see a problem is in ClassLoadingTask.getThreadTaskCount().
This is incremented and decremented as ThreadTasks within the
overall classloading request (the ClassLoadingTask) are done (possibly by other threads).
Those increments and decrements are in synchronized blocks but the getter is not
synchronized.
So the ClassLoaderManager.process() and ClassLoaderManager.nextTask()
could prematurely leave their loops if it is seeing a stale value.
I'm not so confident that this is the real problem since I would expect the stale
value
to go either way and hence see problems with it not leaving the loop if that was the real
issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206586#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...