-XX:[+|-]ExplicitMemoryUseExcludeClass (Option for the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality)
Format
- -XX:+ExplicitMemoryUseExcludeClass
- This option enables the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality.
- -XX:-ExplicitMemoryUseExcludeClass
- This option disables the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality.
Description
Enable or disable the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality. If you enable the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality, the Explicit Memory Management functionality is not applied to the classes coded in the following files. Therefore, the objects of the classes coded in the files will be transferred to the Tenured area instead of the Explicit heap.
- In Windows
- JDK-installation-directory\jre\lib\explicitmemory\sysexmemexcludeclass.cfg
- JDK-installation-directory\usrconf\exmemexcludeclass.cfg
- In UNIX
- /opt/Cosminexus/jdk/jre/lib/explicitmemory/sysexmemexcludeclass.cfg
- /opt/Cosminexus/jdk/usrconf/exmemexcludeclass.cfg
- Default value
- -XX:-ExplicitMemoryUseExcludeClass
- Prerequisite option
- -XX:+HitachiUseExplicitMemory
- Related options
- -XX:+HitachiAutoExplicitMemory
- -XX:ExplicitMemoryFullGCPolicy
- -XX:ExplicitMemoryExcludeClassListFile
- -XX:ExplicitMemoryNotExcludeClassListFile
Notes
- If you enable the functionality for specifying the classes to be excluded from the Explicit Memory Management functionality, the functionality for controlling the transfer of objects to the Explicit memory block will also be enabled.
- You cannot specify the JavaVM classes (such as java.lang or java.util) as the classes to be excluded from the Explicit Memory Management functionality.