Request for Review (xs) - 8024945: Remove check on minimum size of MetaspaceSiz
Kim Barrett
kim.barrett at oracle.com
Mon Jun 13 22:29:42 UTC 2016
> On Jun 13, 2016, at 5:56 PM, Jon Masamitsu <jon.masamitsu at oracle.com> wrote:
>
> https://bugs.openjdk.java.net/browse/JDK-8024945
>
> 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.
>
> http://cr.openjdk.java.net/~jmasa/8024945/webrev.00/
>
> Tested with -XX:MetaspaceSize=0. General testing with gc_test_suite.
Looks good.
------------------------------------------------------------------------------
test/gc/metaspace/TestMetaspaceInitialization.java
27 * @bug 8042933
Should this be updated to also mention 8024945?
------------------------------------------------------------------------------
More information about the hotspot-gc-dev
mailing list