reclaim Method (Format 3)

Description

Reserves the release processing for the Explicit memory blocks indicated by the parameter area0 and area1.

Execute the processing that is executed when ExplicitMemory.reclaim(ExplicitMemory area) is invoked using the parameter area0 and area1 as the parameters. The processing order of the parameter area0 and area1 is not defined. If an exception occurs during the processing for one parameter, that exception will be thrown. If the other parameter is unprocessed, the processing will not be executed.

Format

public static void reclaim(ExplicitMemory area0,  ExplicitMemory area1);

Parameters

area0:
This parameter specifies the Explicit memory block 1 for which the release processing is to be reserved.
area1:
This parameter specifies the Explicit memory block 2 for which the release processing is to be reserved.

Exceptions

InaccessibleMemoryAreaException:
This functionality is not supported.

Return value

None

Caution

This method only reserves the release processing, and does not actually perform the release processing.

When the option HitachiExplicitMemoryAutoReclaim is ON (-XX:+HitachiExplicitMemoryAutoReclaim is specified), the Explicit memory block after the automatic release will execute the same operation as is executed by the Explicit memory block that is generated by the explicit memory management automatic deployment settings file. If you do not want this operation to be performed, set the option HitachiExplicitMemoryAutoReclaim to OFF (-XX:+HitachiExplicitMemoryAutoReclaim is not specified).