Loading ClassLoader like the JVM

Source: Internet
Author: User

Class loading subsystem is an important part of JVM virtual machine

Custom ClassLoader

The System class loader is divided into the following layers:
(1). Start the ClassLoader (Bootstrap ClassLoader): Will load/javahome/lib and the class library under the directory specified by-xbootclasspath, is the core Java API class file for starting the Java Virtual machine
(2). Extension ClassLoader (Extension ClassLoader): Load/javahome/lib/ext and class library under directory specified for Java.ext.dirs
(3). Application class Loader (application/System ClassLoader): Will load the class library specified under Classpath, or the classpath loader

What is the role of the parental delegation model?

Lazy loading with eager loading, says the object is loaded. And ClassLoader is talking about the loading of class. (Of course you can say that class is an object, but it's not the same thing)

http://blog.csdn.net/zq602316498/article/details/38902355

Loading ClassLoader like the JVM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.