首页 > 其他 > 详细

JVM

时间:2020-07-04 17:05:01      阅读:71      评论:0      收藏:0      [点我收藏+]

JVM Structure


技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片

JVM Architecture

技术分享图片

Life of JVM

技术分享图片


Loading

技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片

ClassLoader

技术分享图片


技术分享图片

public class ClassLoaderTest{
    public static void main(String[] args){
        // 系统类加载器
        ClassLoader systemClassLoader =  ClassLoader.getSystemClassLoader();
        System.out.println(systemClassLoader); // sun.misc.Launcher$AppClassLoader@2a139a55 
        //获取系统类加载器的上级:扩展类加载器
        ClassLoader extClassLoader = systemClassLoader.getParent();
        System.out.println(extClassLoader); // sun.misc.Launcher$ExtClassLoader@7852e922

        // 获取本类的加载器
        ClassLoader selfClassLoader = ClassLoaderTest.class.getClassLoader();
        System.out.println(selfClassLoader);  // sun.misc.Launcher$AppClassLoader@2a139a55
    }
}

技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片

双亲委派机制

技术分享图片


技术分享图片


技术分享图片

What makes it all the same:

技术分享图片
技术分享图片


PC register

技术分享图片

技术分享图片

VM Stack

技术分享图片


技术分享图片


技术分享图片


技术分享图片

操作数栈(表达式栈)

技术分享图片

动态链接

技术分享图片


技术分享图片


技术分享图片


技术分享图片


技术分享图片

Native Method Interface

技术分享图片

Native Method Stack

技术分享图片

Default Garbage Collector : G1

JVM

原文:https://www.cnblogs.com/nedrain/p/13230988.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!