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

Stefan Johansson stefan.johansson at oracle.com
Fri Jan 16 12:21:41 UTC 2015


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

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