![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jvm一步一步
阳仔928
不断学习
展开
-
JVM堆内存详解
JVM的内存结构模型在往期文章中已经介绍过了,下面我们来介绍一下堆内存中的划分;堆内存中可以分为老年代和年轻代,而年轻代又分为Eden区和Survivor区,其中Survivor区又分为from和to区;在对象最新创建时一般都是在Eden区,关系分布如下图:图中的fen分数表示每块区域的占比,例如:堆内存分配为600M,那么老年代则占用400M;而年轻代则占2...原创 2019-10-20 09:33:48 · 264 阅读 · 0 评论 -
JVM指令手册
栈和局部变量操作将常量压入栈的指令aconst_null 将null对象引用压入栈iconst_m1 将int类型常量-1压入栈iconst_0 将int类型常量0压入栈iconst_1 将int类型常量1压入栈iconst_2 将int类型常量2压入栈iconst_3 将int类型常量3压入栈iconst_4 将int类型常量4压入栈iconst_5 将...转载 2019-10-09 13:54:41 · 138 阅读 · 0 评论