RFR: 8069011: gc/TestSmallHeap.java failing in nightly

Stefan Johansson stefan.johansson at oracle.com
Mon Jan 19 09:50:22 UTC 2015


Thanks Bengt and Jesper for reviewing,
Stefan

On 2015-01-16 17:46, Bengt Rutisson wrote:
>
> Hi Stefan,
>
> On 2015-01-16 13:21, Stefan Johansson wrote:
>> Hi,
>>
>> Please review this @requires addition to avoid failures described in:
>> https://bugs.openjdk.java.net/browse/JDK-8069011
>>
>> Webrev:
>> http://cr.openjdk.java.net/~sjohanss/8069011/hotspot.00
>
> Looks good to me.
>
> Thanks for fixing the comment as well. I assume that fixes the problem 
> that JTreg printed the complete note as part of the test output?
>
> Bengt
>
>>
>> Summary:
>> This is a bug of the same kind as JDK-8040935. The test specifies a 
>> small heap and is then run with -XX:+AggressiveOpts. This causes the 
>> JVM to exit during startup because a GC is triggered before we are 
>> ready to handle one. The fix is to add a @requires-statement to 
>> ensure AggressiveOpts is not enabled. After many discussions this 
>> seems to be the preferred solutions among the people I've spoken to.
>>
>> Thanks,
>> StefanJ
>



More information about the hotspot-gc-dev mailing list