RFR: 8040935: -XX:+AggressiveOpts broken: GC triggered before VM initialization completed on several tests
Stefan Johansson
stefan.johansson at oracle.com
Mon Jan 12 10:01:41 UTC 2015
Hi,
Please review this testfix to avoid the following issue:
https://bugs.openjdk.java.net/browse/JDK-8040935
Webrev:
http://cr.openjdk.java.net/~sjohanss/8040935/hotspot.00
Summary:
Making the test a driver test to avoid dealing with externally specified
flags. One problematic flag is AggressiveOpts, it causes the VM to
allocate more stuff during startup and that together with UseNUMA the
eden space gets to little to handle all startup allocations. This will
in turn lead to a GC being triggered before initialization is finished,
and because of that failing the test.
Testing:
* Tested via JPRT
Thanks,
Stefan
More information about the hotspot-gc-dev
mailing list