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 呢?**
|
||||
|
||||
- 虚拟机栈(栈帧中的本地变量表)中引用的对象
|
||||
- 虚拟机栈(栈帧中的局部变量表)中引用的对象
|
||||
- 本地方法栈(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