Hitachi

uCosminexus Application Server System Design Guide


7.15.11 Full GC

Figure 7‒31: Flow of Full GC

[Figure]

Organization of this subsection

(1) Triggers

Full GC is executed when there is no more Free area remaining and Evacuation processing cannot secure an area to which to copy evacuated objects, or when there is not enough free space to copy an object to the Humongous area. It is also executed when there is no more free space in the Metaspace area, and when System.gc() is called.

(2) Target

New area, Tenured area, Humongous area, and Metaspace area

(3) Processing

(4) Processing results

Eden area: The objects are collected and the area is left empty.

Survivor area: In-use objects are moved to the Tenured area and the area is left empty.

Tenured area: In-use objects are reorganized.

Humongous area: In-use objects are reorganized.

Metaspace area: In-use objects are reorganized.

Free area: Increases in size due to reclaimed regions.

(5) Pausing of applications

Applications are paused.

(6) Relationship with other GC methods

CM: Not executed during Full GC.

Young GC: Not executed during Full GC.

Mixed GC: Not executed during Full GC.

(7) Supplementary notes