Java high-tech-class loader

Source: Internet
Author: User

1. In-depth analysis of class loaders and delegation mechanisms

The role of the > ClassLoader: A class that appears in a Java file, first to load the class's bytecode into memory, and this class of information is placed in a class file under the classpath of the hard disk,

Loading the contents of the class file into memory, doing some processing, the result of processing is bytecode, this series of work is the class loader is doing.

> Java Virtual machines can install multiple classloader, the system defaults to three main class loaders, each class is responsible for loading a specific location of the class:

Bootstrap,extclassloader, Appclassloader

The > class loader is also a Java class, because the class loader of the Java class is also loaded by the ClassLoader itself, and obviously the first ClassLoader is not a Java class.

This is bootstrap.

The system class is loaded by the Bootstrap class loader

Java high-tech-class loader

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.