文章分类 - HotSpot
介绍HotSpot相关技术
摘要:Loading is the process of finding the binary representation of a class or interfacetype with a particular name and creating a class or interface from that binaryrepresentation.Linking is the process of taking a class or interface and combining itinto the runtime state of the Java virtual machine so
阅读全文
摘要:什么是Java ClassLoader:它是java runtime environment 的一部分,用于动态加载类到JVM。通常是在使用某个类时才加载该类。Java 提供了ClassLoader的抽象类;HotSpot VM 中,采用双亲代理模式加载类,有Boostrap ClassLoader,ExtClassLoader和AppClassLoader三个层次(实际实现时,类加载器之间并不是Inheritance,而是Composition)。当系统对类加载有特殊要求时,可以创建UserDefined类加载器(应当能够完成ClassLoader的基本功能)。常见的场景有:对Jav...
阅读全文

浙公网安备 33010602011771号