JVM ClassLoader Architecture:

Source: Internet
Author: User

JVM ClassLoader Architecture:

A, Bootstrap classloader/Launcher class loader is primarily responsible for the core API or-xbootclasspath option specified in the Jdk_home/lib directory for the Jar wrapper into the job.

B, Extension classloader/Extension class loader is primarily responsible for the jar package in the Jdk_home/lib/ext directory or the jar wrapper in the specified directory-djava.ext.dirs the work

C, System classloader/class loader is mainly responsible for Java-classpath/-djava.class.path the directory of the class and Jar wrapper into the work.

B, user custom classloader/custom class loader (subclass of Java.lang.ClassLoader) dynamically loads class files through Java.lang.ClassLoader subclasses during program run, embodying J Ava Dynamic Real-time class loading feature.



System ClassLoader-Systems (also known as applications) ClassLoader, which is responsible for loading-classpath or Java.class.path System Properties from command Java or classpath* when the JVM is started The jar class package and classpath as specified by the System properties.

JVM ClassLoader Architecture:

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.