Hitachi

uCosminexus Application Server Expansion Guide


7.7.3 The process of releasing the Explicit memory block when the automatic release functionality is enabled

The process of releasing the Explicit memory block when the automatic release functionality is enabled, is executed for the Explicit memory blocks that are reserved in advance by automatic release reserving and explicit release reserving. The release processing deletes the unnecessary Explicit memory blocks from the memory.

Note that if the objects that are being referenced from outside (Explicit memory blocks which are not targeted for releasing) exist, the objects are moved to a new Explicit memory block.

Organization of this subsection

(1) Execution timing

The Java VM releases Explicit memory blocks according to the reservation made for automatic release when the same type of GC that caused the reservation to be made occurs.

(2) Executed details

The executed details are same as in the case of the processing of releasing the Explicit memory block when the automatic release functionality is disabled, except for the behavior of objects that are being referenced from the Explicit memory blocks, which are not targeted for releasing. For the details that are executed in the process of releasing Explicit memory blocks, see 7.8.2 The process of releasing the Explicit memory block when the automatic release functionality is disabled.

In the case of the following conditions, the operation will be different.