In the CMS GC process, what is the reason why the business thread puts objects into the old generation (the characteristics of concurrent collection)?

Alibaba cloud Q & A 2022-05-15 05:00:07 阅读数:73


stay CMS GC In the process, the business thread puts the object into the old generation ( Characteristics of concurrent collection ) What is the reason for the lack of memory ?

Take the answer 1:

1)fgc Trigger ratio is too large , Lead to excessive occupation in the old age , During concurrent collection, the user thread continues to generate objects, resulting in the trigger FGC The proportion . 2) Memory fragments exist in older generations .

版权声明:本文为[Alibaba cloud Q & A]所创,转载请带上原文链接,感谢。