Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/java/jvm/jvm-garbage-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public class ReferenceCountingGc {

**哪些对象可以作为 GC Roots 呢?**

- 虚拟机栈(栈帧中的本地变量表)中引用的对象
- 虚拟机栈(栈帧中的局部变量表)中引用的对象
- 本地方法栈(Native 方法)中引用的对象
- 方法区中类静态属性引用的对象
- 方法区中常量引用的对象
Expand Down Expand Up @@ -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 -->