7.18.3 -XX:CompressedClassSpaceSize
-XX:CompressedClassSpaceSize specifies the maximum size of the Compressed Class Space.
Description
-XX:CompressedClassSpaceSize specifies the maximum size of the Compressed Class Space.
If the functionality for the compressed object pointer is enabled, the Compressed Class Space is created in the Metaspace area.
In this case, the following information is deployed to each area.
-
Compressed Class Space
Class information referred to by the objects in the JavaHeap
-
Metaspace area (excluding the Compressed Class Space)
Method and other information excluding the above information
- Prerequisite option
-
-
-XX:+UseCompressedOops
-
Syntax
-XX:CompressedClassSpaceSize=size
Specifiable values
- size
-
Type: Integer
Specify a natural number followed by one of the following units:
-
"k" for kilo
-
"m" for mega
-
"g" for giga
You can specify an integer value from 1024 k to 3 g.
Note that the specification of this value is not case sensitive.
-
Notes
This option is not supported in Windows x86.