RFR: 8069011: gc/TestSmallHeap.java failing in nightly
stefan.johansson at oracle.com
Mon Jan 19 09:50:22 UTC 2015
Thanks Bengt and Jesper for reviewing,
On 2015-01-16 17:46, Bengt Rutisson wrote:
> Hi Stefan,
> On 2015-01-16 13:21, Stefan Johansson wrote:
>> Please review this @requires addition to avoid failures described in:
> 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?
>> 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.
More information about the hotspot-gc-dev