mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-20 22:17:09 +08:00
Merge pull request #2166 from kaltons/kaltons-patch-1
[docs fix]修正为前文Java内存区域详解中虚拟机栈的局部变量表
This commit is contained in:
commit
3684aac82c
@ -227,7 +227,7 @@ public class ReferenceCountingGc {
|
|||||||
|
|
||||||
**哪些对象可以作为 GC Roots 呢?**
|
**哪些对象可以作为 GC Roots 呢?**
|
||||||
|
|
||||||
- 虚拟机栈(栈帧中的本地变量表)中引用的对象
|
- 虚拟机栈(栈帧中的局部变量表)中引用的对象
|
||||||
- 本地方法栈(Native 方法)中引用的对象
|
- 本地方法栈(Native 方法)中引用的对象
|
||||||
- 方法区中类静态属性引用的对象
|
- 方法区中类静态属性引用的对象
|
||||||
- 方法区中常量引用的对象
|
- 方法区中常量引用的对象
|
||||||
|
Loading…
x
Reference in New Issue
Block a user