|Also ClassLoader.loadClass(String, boolean) is sync'ed. It's not a
|problem of loadClassInternal IMHO.
|Also the UCL at the end calls super.loadClass() (in
|loadClassLocally()) so...
right so it is just a problem with synchronized cls...
I will try the solution I am thinking of.
hey quick question
synchronized(a)
{
synchronized (a)
{
a.wait(blabla);
}}
does it release a?
I think so
(if one is b I know it doesn't)
|Not only. It's a startup problem IMHO: until all classes are
|cached by ULR, you may find that UCL calls super.loadClass() and
|you have the same problem.
ok, which also means that if all threads go through our stuff we can solve
all of this in one central place.
|It is sync'ed, and would lead to the same problem, no ?
yes afaict, and the solution would apply to both.
|I agree that sync'ing so high it's an implementation mistake, they
|could have sync'ed around shared data structures, as ULR does.
marcf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development