当前位置:网站首页>Summary of JVM interview focus (II) -- garbage collector (GC) and memory allocation strategy

Summary of JVM interview focus (II) -- garbage collector (GC) and memory allocation strategy

2022-06-26 05:53:00 Little five

1. How to judge that the object has died ? It can be used as “GC Root” What are the of the object ? How can we judge the true death ?

2. Brief description strong 、 soft 、 weak 、 Virtual reference ?

3. There are several garbage collection algorithms ? This paper briefly introduces the generational collection theory and three hypotheses of generational collection ?

4. Mark — Characteristics and process of clearing algorithm ? shortcoming ?

5. Mark — Characteristics and process of replication algorithm ? Defects and improvements ?

6. Mark — Sorting out the characteristics and process of the algorithm ? The difference between clearing algorithm and sorting algorithm ?CMS When to use the collation algorithm ?

7. What are the garbage collectors ?

8. sketch serial The collector ? What is single threaded work ?

9. sketch PerNew The collector ? The difference between concurrency and parallelism ?

10. sketch Perallel Scavenge The collector ? God horse is a high throughput ?

11. sketch Serial Old The collector ?Parallel Old The collector ?

12. sketch CMS The collector , pros and cons ?

13. say something Garbage first The collector ? What is thought ? The process ?

14.G1 And CMS Comparison .

15. Memory allocation and recycling strategy . When does the subject enter the old age ?

16.Minor GC,Major GC,Full GC.

17. Dynamic object age determination .

原网站

版权声明
本文为[Little five]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202180504027812.html