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?
bye blackdrag -- 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 jvm-languages@googlegroups.com To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---