Avoid collecting young gen while doing the full GC

Tony Guan guanxiaohua at gmail.com
Tue Mar 23 17:57:57 UTC 2010

Hi all,

In my current project, one crazy idea is to leave the young generation
untouched(not collected) during a Full Gc. Is it feasible if I want to
collect the tenured gen only in a full GC?

To do this, the young gen should be included as part of the root set,
and the reference processor should only care about the old gen. Is
there anything else I should take care of?



More information about the hotspot-gc-dev mailing list