RFR(xs): 8161552: Test issue: VM init failed: GC triggered before VM initialization completed. Try increasing NewSize, current value 768K.
thomas.schatzl at oracle.com
Thu Jul 21 09:30:35 UTC 2016
On Wed, 2016-07-20 at 20:01 +0300, Dmitry Fazunenko wrote:
> I'm looking for a couple of reviewers for a simple fix of two tests.
> The tests check some basic assertions when VM is started with max
> size set to some small values.
> The tests work almost everywhere, but there are cases when with
> GC triggered before VM initialization completed.
> 2M is valid but extremely small max heap size. Cases of usages such
> small heap are rather theoretical than practical.
> To fix the problem I made the tests weaker, the cases setting max
> to 2M are removed.
> Testing: locally + RBT
looks good, but I think this decision should be more prominently
stated in the test.
Particularly the comments in lines 45-47 need to be updated, and lines
49 to 53 also refer to now apparently outdated behavior.
More information about the hotspot-gc-dev