RFR: 8069011: gc/TestSmallHeap.java failing in nightly
bengt.rutisson at oracle.com
Fri Jan 16 16:46:09 UTC 2015
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