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

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

2022-05-15 05:00:07Alibaba cloud Q & A

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 .


copyright notice
author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/131/202205110943373020.html

Random recommended