-XX:[+|-]HitachiReserveSwapSpace (Reserve swap area option)

This option is used for HP-UX.

Format

-XX:+HitachiReserveSwapSpace
This option reserves all the maximum swap areas that are required to execute JavaVM.
-XX:-HitachiReserveSwapSpace
This option all the maximum swap areas that are required to execute JavaVM are not reserved.

Description

Specify whether to reserve the maximum swap area (corresponding to OS) that is required to execute JavaVM, when invoking JavaVM.

You can calculate the size of the required maximum swap area by the following format:

(-Xmx specified-value)#1+(-XX:MaxPermSize specified-value)#1+(Area storing the code compiled by JIT)#2
#1
The default values of -Xmx and MaxPermSize are as follows:
- -Xmx: 64MB
- MaxPermSize: 64MB
#2
In HP-UX (IPF): 128 MB

Default value
  • -XX:-HitachiReserveSwapSpace

Precautions