RFR: 8159606: gc/g1/TestShrinkAuxiliaryData* tests fail because GC triggered before VM initialization completed

Thomas Schatzl thomas.schatzl at oracle.com
Wed Jul 13 14:51:15 UTC 2016


Hi,

On Mon, 2016-07-11 at 17:36 +0300, Michail Chernov wrote:
> Hi,
> 
> Could I have a reviews for this small change:
> 
> http://cr.openjdk.java.net/~mchernov/8159606/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8159606
> 
> Tests fail on some machines with different flags combinations. Tests
> fail with message:
> 
> Error occurred during initialization of VM 
> GC triggered before VM initialization completed. Try increasing
> NewSize, current value 1331K.
> 
> This change adds NewSize=16m and allows to avoid such failures.

Did you investigate more about the reasons for the use of 1.4M of heap
during startup, is this potentially because of the flight recorder
initialization during startup?

If so, isn't this a more generic issue then, i.e. wouldn't it be better
to increase the minimum heap requirements if JFR is enabled during
startup?

Thomas


More information about the hotspot-gc-dev mailing list