diff options
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/GC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 90a5164414..1799cf98c4 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -1963,7 +1963,7 @@ resizeGenerations (void) heapOverflow(); } - if (oldest_gen->compact) { + if (oldest_gen->compact || RtsFlags.GcFlags.useNonmoving) { if ( (size + (size - 1) * (gens - 2) * 2) + min_alloc > max ) { size = (max - min_alloc) / ((gens - 1) * 2 - 1); } |