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. > bye blackdrag > cheers, Rémi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
