未验证 提交 c3df908b 编写于 作者: J jianxin.yuan 提交者: GitHub

新增 "可作为GC Roots 的对象"

上级 a9ed8ec8
......@@ -238,6 +238,11 @@ public class ReferenceCountingGc {
![可达性分析算法 ](./pictures/jvm垃圾回收/72762049.png)
可作为GC Roots的对象包括下面几种:
* 虚拟机栈(栈帧中的本地变量表)中引用的对象
* 本地方法栈(Native方法)中引用的对象
* 方法区中类静态属性引用的对象
* 方法区中常量引用的对象
### 2.3 再谈引用
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册