Update Java1.md

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

@ -48,4 +48,11 @@
### JVM
Eden so s1 8:1:1
由如下参数控制提升阈值 -XX:+MaxTenuringThreshold=15
mark-and-sweep algorithm.
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.
可以作为 GC Roots 的对象
1. 当前正在执行的方法里的局部变量和输入参数
2. 活动线程(Active threads)
3. 所有类的静态字段(static field)
4. JNI 引用

Loading…
Cancel
Save