Request for Review (xs) - 8024945: Remove check on minimum size of MetaspaceSiz
Jon Masamitsu
jon.masamitsu at oracle.com
Mon Jun 13 22:43:27 UTC 2016
On 06/13/2016 03:29 PM, Kim Barrett wrote:
>> 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.
Thanks.
> ------------------------------------------------------------------------------
> test/gc/metaspace/TestMetaspaceInitialization.java
> 27 * @bug 8042933
>
> Should this be updated to also mention 8024945?
Ah, yes.
Fixed.
Jon
>
> ------------------------------------------------------------------------------
>
More information about the hotspot-gc-dev
mailing list