Rémi Forax schrieb:
> Jochen Theodorou a écrit :
>> Hi all,
>>
>> can someone explain why java.lang.ClassLoader.loadClassInternal has to 
>> be synchronized? ok, the method is called directly from the VM and I 
>> assume that this is some kind of performance optimization, which helps 
>> avoiding getting that lock the old fashioned way. But that method really 
>> does nothing more than calling loadClass... which then can synchronize 
>> or not? So is it there to enforce synchronization? Why that?
>>   
> 
> I don't know but it's no more the case if the classloader is parallel 
> capable in jdk7.

parallel capable? Is there some material on that?

bye Jochen

-- 
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to