Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
ClassLoader-related code
no vote
JVM when the class is loaded, via ClassLoader loadClass () method to load class, loadClass (String name) method: Using parents entrust mode: When the JVM starts, the class loader in the boot JRE/RT.jar: bootstrap classloader, which loads the core Java API, and ExtClassLoader, and then start the extension ClassLoader loads the extension class, and load the user program loader AppClassLoader and specify ExtClassLoader for the parent class; When a class is loaded, it will first check is already loaded in memory, if it is, you will no longer be loaded, and if not, then from AppClassLoader to load the first jar found in the bag, is no longer found in the classpath; If a custom loader classes, namespaces can exist, when different loader loads the same class, the resulting instance is different;
java_interest
2016-08-23
0
1
No more~