Hitachi

uCosminexus Application Server System Design Guide


7.2.5 Areas not subject to GC (using an Explicit heap area with the Explicit Memory Management functionality)

In addition to the Eden area, Survivor area, and Tenured area, the JavaVM uses an area called the Explicit heap. The Explicit heap area is not subject to GC.

Specify objects to be saved in the Explicit heap area using the automatic allocation setup file and the Explicit Memory Management functionality API. At the timing of the specified objects being moved from the Survivor area to the Tenured area, the specified objects are moved to the Explicit heap area. By specifying long-life objects to exclude from collection by the copy GC mechanism, you can reduce the memory used by the Tenured area and make Full GC occur less frequently. You can also create the specified objects in the Explicit heap area using the automatic allocation setup file of the Explicit Memory Management functionality or the Explicit Memory Management functionality API.

For details about the Explicit Memory Management functionality, see 7. Suppression of Full GC by Using the Explicit Memory Management Functionality in the uCosminexus Application Server Expansion Guide.