uCosminexus Application Server, Expansion Guide
This section describes about the initialization and the execution of Explicit memory blocks and the processes that are executed during initialization.
In an application, if you want to place any object in the Explicit heap, the Explicit memory block is initialized by invoking the following Explicit Memory Management functionality API.
Besides these APIs, the Explicit memory block is also initialized when the object, which you specified in the automatic placement configuration file, is generated. The Web container performs initialization and places the first object in the Explicit memory block, in which the J2EE server places objects. For details on the execution timing, see 8.4 When using a J2EE server objects placed in the Explicit heap.
The Explicit memory block is initialized. However, the memory area for an Explicit memory block is not secured at this stage.
The initialization is not performed in the following cases:
In such cases, although the constructor is successfully executed, it is handled as an invalid Explicit memory block. All the processes related to the initialized Explicit memory block (ExplicitMemory instance) become invalid.
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.