RFR: 8152239: hotspot/test/gc/TestSmallHeap.java failed in jdk9
Stefan Johansson
stefan.johansson at oracle.com
Wed Jun 1 13:59:19 UTC 2016
Thanks for the reviews Mikael and Dima,
Stefan
On 2016-06-01 10:02, Dmitry Fazunenko wrote:
> Stefan,
>
> New version of the test looks very good!
>
> Thanks,
> Dima
>
> On 01.06.2016 10:06, Stefan Johansson wrote:
>> Hi,
>>
>> Please review this test fix for:
>> https://bugs.openjdk.java.net/browse/JDK-8152239
>>
>> Webrev:
>> http://cr.openjdk.java.net/~sjohanss/8152239/hotspot.00/
>>
>> Summary:
>> The test has been excluded since it fails with an OOME. With Jigsaw
>> and indify string concatenation turned on, the test ended up
>> allocating to much and hit the OOME. I've re-written the test to do
>> as little as possible in the VM with the small heap, instead the
>> driver VM verifies that the sizes are correct. As before, the test
>> verifies that the MaxHeapSize flag is set as expected, but I also
>> added a check on the actual heap size to make sure it is below this
>> limit.
>>
>> Testing:
>> * RBT with the new version of the test.
>>
>> Thanks,
>> Stefan
>
More information about the hotspot-gc-dev
mailing list