RFR(s): 8067768: Check for too small values for -Xmx

Per Liden per.liden at oracle.com
Fri Mar 11 15:08:52 UTC 2016


On 2016-03-11 15:59, Dmitry Fazunenko wrote:
> Hi Per,
>
> the fix looks good, but the copyrights in the test file. (I don't need
> another review)

Thanks Dima, I'll fix the copyright before pushing.

Btw, since I'm adding a test here I think we can close JDK-8067776 once 
this is pushed.

thanks,
Per

>
> Thanks,
> Dima
>
> On 11.03.2016 17:52, Per Liden wrote:
>> Hi,
>>
>> Summary: The VM needs at least a 2M heap (MaxHeapSize) and at least 1M
>> initial heap (InitialHeapSize), but we only check the InitialHeapSize
>> limit during start up. This patch adds a check for MaxHeapSize and
>> extends the jtreg heap size test to check these limits.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8067768
>> Webrev: http://cr.openjdk.java.net/~pliden/8067768/webrev.0/
>> Testing: manual, jtreg test/gc/*, jprt in progress
>>
>> thanks,
>> Per
>>
>


More information about the hotspot-gc-dev mailing list