mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-16 18:10:13 +08:00
[docs fix]修正为前文Java内存区域详解中虚拟机栈的局部变量表
This commit is contained in:
parent
ba8eb3a3aa
commit
2b7f4afb43
@ -227,7 +227,7 @@ public class ReferenceCountingGc {
|
||||
|
||||
**哪些对象可以作为 GC Roots 呢?**
|
||||
|
||||
- 虚拟机栈(栈帧中的本地变量表)中引用的对象
|
||||
- 虚拟机栈(栈帧中的局部变量表)中引用的对象
|
||||
- 本地方法栈(Native 方法)中引用的对象
|
||||
- 方法区中类静态属性引用的对象
|
||||
- 方法区中常量引用的对象
|
||||
@ -511,4 +511,4 @@ $ java -XX:+UseZGC className
|
||||
- https://my.oschina.net/hosee/blog/644618
|
||||
- <https://docs.oracle.com/javase/specs/jvms/se8/html/index.html>
|
||||
|
||||
<!-- @include: @article-footer.snippet.md -->
|
||||
<!-- @include: @article-footer.snippet.md -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user