Request for Review (xs) - 8024945: Remove check on minimum size of MetaspaceSiz

Jon Masamitsu jon.masamitsu at
Mon Jun 13 21:56:16 UTC 2016

Previous to this change the smallest MetaspaceSize value allowed
was 256k.  There is not reason for the restriction so this change
removes it.  A very small MetaspaceSize  (even 0) does not cause
a problem because during initialization a GC is not triggered unless
the Metaspace needed grows beyond MaxMetaspaceSize.

Tested with -XX:MetaspaceSize=0.  General testing with gc_test_suite.



More information about the hotspot-gc-dev mailing list