GCRoot

1 栈中属性引用的对象
2 方法区中类静态属性引用的对象
3 方法区中类常量属性引用的对象
4 本地方法栈中引用的对象

猜你喜欢

转载自www.cnblogs.com/zzq-include/p/10912437.html