diff --git a/docs/java/jvm/jvm-garbage-collection.md b/docs/java/jvm/jvm-garbage-collection.md index 0a071b3f..baa9eed4 100644 --- a/docs/java/jvm/jvm-garbage-collection.md +++ b/docs/java/jvm/jvm-garbage-collection.md @@ -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 - - \ No newline at end of file +