RFR (S): 8067438: Add test to verify minimal heap size

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Mon Dec 15 14:06:19 UTC 2014


Hi Bengt,

The test looks good, but summary needs to be updated.

   28  * @summary Verify that the heap gets set up to the expected size

 From this summary it's not clear, that the test is for the minimal supported Xmx value.

Would it make more tests to for minimal heap size?
- setting -Xmx from 1024k to 2047k is equivalent to setting 2m.
- vm doesn't start if Xmx1023k and less

Thanks,
Dima


On 15.12.2014 16:19, Bengt Rutisson wrote:
>
> Hi everyone,
>
> Can I have a couple of reviews for this small test to verify that the 
> VM starts with a minimum heap size of 2mb?
>
> http://cr.openjdk.java.net/~brutisso/8067438/webrev.00/
>
> https://bugs.openjdk.java.net/browse/JDK-8067438
>
> Thanks,
> Bengt




More information about the hotspot-gc-dev mailing list