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