Home > Back-end >  CMS garbage collector how to solve the concurrent clear steps when new generation object rose to the
CMS garbage collector how to solve the concurrent clear steps when new generation object rose to the

Time:10-04

In the reading understanding the JVM, see this section, the CMS collector when the execution to concurrent remove this step, because be concurrent, so if there are new generation object promotion to the old s, the JVM will do? Although mentioned floating garbage, but the new object is not necessarily the garbage,
Introduced in the following pages, G1 collector, the book clearly mentioned the new object is created, in the part of the Region division of space for the new object allocation, the default, is not included in the scope of recycling,
On CMS collector, however, the book did not mention the problem, I took a few blog, also do not come to turn to tell her,
Hope to help solve some bosses, grateful!
  • Related