Update Java1.md

pull/9/head
hmao 5 years ago committed by GitHub
parent 1fcbf1fa19
commit 4453de249f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,12 +46,12 @@
JVM 图形化工具--jmc JVM 图形化工具--jmc
### JVM ### JVM
Eden so s1 8:1:1 Eden so s1 8:1:1
由如下参数控制提升阈值 -XX:+MaxTenuringThreshold=15 由如下参数控制提升阈值 -XX:+MaxTenuringThreshold=15
mark-and-sweep algorithm. mark-and-sweep algorithm.
The algorithm traverses all object references, starting with the GC roots, and marks every object found as alive. The algorithm traverses all object references, starting with the GC roots, and marks every object found as alive.
All of the heap memory that is not occupied by marked objects is reclaimed. It is simply marked as free, essentially swept free of unused objects. All of the heap memory that is not occupied by marked objects is reclaimed. It is simply marked as free, essentially swept free of unused objects.
可以作为 GC Roots 的对象 可以作为 GC Roots 的对象
1. 当前正在执行的方法里的局部变量和输入参数 1. 当前正在执行的方法里的局部变量和输入参数
2. 活动线程(Active threads) 2. 活动线程(Active threads)
3. 所有类的静态字段(static field) 3. 所有类的静态字段(static field)

Loading…
Cancel
Save