why is VM calling ClassLoader.loadClassInternal

Christian Thalinger twisti at complang.tuwien.ac.at
Wed Aug 29 01:29:34 PDT 2007


Hi!

Can someone tell me why HotSpot calls ClassLoader.loadClassInternal
instead of loadClass directly?  There's no magic in that method:

    // This method is invoked by the virtual machine to load a class.
    private synchronized Class loadClassInternal(String name)
	throws ClassNotFoundException
    {
	return loadClass(name);
    }

Some magic hiden in HotSpot?

- twisti




More information about the hotspot-runtime-dev mailing list