学习JVM原理-四种Class Loader

摘自《深入理解Java虚拟机》周志明著

按ClassLoader的父子关系(概念上的父子关系,未必有类继承)排列

1.  Bootstrap ClassLoader加载$JRE/lib下的类,如rt.jar里面的类
2.      Extension ClassLoader加载$JRE/lib/ext下的类,如”sunjce_provider.jar”里面的类
3.          Application/System ClassLoader加载ClassPath上指定的类库,它就是程序中默认的类加载器
4.              User ClassLoader

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.