uCosminexus Application Server, Expansion Guide
This section describes the releasing of the Explicit management heap by using the javagc command.
You can execute releasing of Explicit memory blocks by using the javagc command at any time. As a result, you can explicitly release the Explicit memory blocks, which were not released by release processing when the automatic release functionality is enabled.
Release processing is executed when you specify -ehgc option and execute javagc command.
When you execute the javagc command, JavaVM executes a full garbage collection and outputs the EMJavaGC command as the cause of the garbage collection in extended the verbosegc information. After that, the following Explicit memory blocks are released:
For details on the causes of a garbage collection, see -XX:[+|-]HitachiVerboseGCPrintCause (garbage collection cause content output option) in the uCosminexus Application Server Definition Reference Guide.
The release processing is not executed in the following cases:
In this case, although the constructor is successfully executed, memory blocks are handled as invalid Explicit memory blocks (ExplicitMemory instances).
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.