uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

8.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
(2) Executed details

(1) Execution timing

JavaVM executes it in the same garbage collection in which reserving for release is executed by automatic release reserving.

(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 8.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.