Avoid collect young gen while doing the full GC

Tony Guan guanxiaohua at gmail.com
Tue Mar 23 08:51:07 PDT 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. Am I
right?  Is there anything else I should take care of?



More information about the hotspot-runtime-dev mailing list