![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JVM
文章平均质量分 95
右耳听风
芝兰生于深谷,不以无人而不芳
君子修身养德,不以穷困而改志
展开
-
JVM基础3
JVM常用命令jps查看java进程The jps command lists the instrumented Java HotSpot VMs on the targetsystem. The command is limited to reporting information on JVMs forwhich it has the access permissions.jinfo(1)实时查看和调整JVM配置参数The jinfo command prints Java con原创 2022-02-27 05:03:18 · 272 阅读 · 0 评论 -
JVM基础2
文章目录JVM基础Method Area(方法区)Heap(堆)Java Virtual Machine Stacks(虚拟机栈)图解栈和栈帧栈帧pc Register(程序计数器)Native Method Stacks(本地方法栈)直接内存(Direct Memory)其他内存:java对象模型栈指向堆方法区指向堆堆指向方法区Java对象内存模型验证hashCode的储存方式Class PointerJVM基础官网概括官网 :https://docs.oracle.com/javase/specs原创 2022-02-25 07:44:07 · 492 阅读 · 0 评论 -
JVM基础1
文章目录JVM是什么类加载机制加载字节码文件的方式load链接(Link)验证(Verify)文件格式验证元数据验证字节码验证符号引用验证准备(Prepare)解析(Resolve)初始化使用主动引用被动引用卸载类加载器(ClassLoader)JVM的三种类加载方式打破双亲委派自定义类加载器JVM是什么类加载机制把class文件加载到jvm虚拟机。分为:装载、链接、初始化3个步骤1、loading2、linking3、Initializing加载字节码文件的方式1、从本地系统中直接加载原创 2022-02-25 04:55:04 · 460 阅读 · 0 评论