# jdk_java -XX:+PrintFlagsRanges -version | grep SharedMiscDataSize
size_t SharedMiscDataSize [ 27200 ... 2113802239 ] {product}
but that min size is not large enough:
# jdk_java -Xshare:dump -XX:SharedMiscDataSize=27200
Allocated shared space: 33705984 bytes at 0x0000000800000000
Loading classes to share ...
...
Loading classes to share: done.
Rewriting and linking classes ...
Rewriting and linking classes: done
Number of classes 2175
instance classes = 2161
obj array classes = 6
type array classes = 8
Updating ConstMethods ... done.
Removing unshareable information ... done.
Java HotSpot(TM) 64-Bit Server VM warning:
The shared miscellaneous data space is not large enough
to preload requested classes. Use -XX:SharedMiscDataSize=<size>
to increase the initial size of shared miscellaneous data space.