You can use the -XX:MaxTenuringThreshold=value option for setting the maximum age of objects that are managed in the New area. For example, if you specify -XX:MaxTenuringThreshold=2, all the objects for which the third copy garbage collection is executed, move to the Tenured area.
If you use this method, the objects for which a copy garbage collection is executed become less in number and the execution time can be reduced. A full garbage collection occurs periodically, when the Tenured area becomes full, since several objects move to the Tenured area. To operate the system with stability, forcibly initiate a full garbage collection when the load on the system is less. Shown below is how to forcibly initiate a full garbage collection: