Hitachi

uCosminexus Application Server System Design Guide


7.15.10 Mixed GC

Figure 7‒30: Flow of mixed GC

[Figure]

Organization of this subsection

(1) Trigger

If the predicted collection size exceeds 10% of the Java heap area, mixed GC is scheduled as the method of the next GC. This judgment is made at the conclusion of young GC (normal) immediately following CM, or at the conclusion of mixed GC.

(2) Target

Part of the New area and the Tenured area.

(3) Processing

(4) Processing results

Eden area:

The objects are collected and the area is left empty. The Eden area is resized after GC has completed.

Survivor area:

The objects in the From space are collected and the space is left empty. The Survivor area is resized after GC has completed.

Tenured area:

Objects determined to have long-term utility are moved to the Tenured area.

Objects in the area added as a GC target are collected.

Humongous area:

Unchanged.

Metaspace area:

Unchanged.

Free area:

The Free area increases or decreases in size as a result of the resizing that occurs after GC.

(5) Pausing of applications

Applications are paused.

(6) Relationship with other GC methods

CM: Not executed during mixed GC.

Young GC: Not executed during mixed GC.

Full GC: If the requirements for Full GC are met while mixed GC is in progress, mixed GC is canceled and Full GC is executed.

(7) Supplementary notes