Skip to content
Snippets Groups Projects
Commit 51204f69 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-02-09 12:50:38 by simonm]

Bugfix for generation resizing in the single-generation case.
parent b48a5ff6
No related merge requests found
/* -----------------------------------------------------------------------------
* $Id: GC.c,v 1.28 1999/02/08 10:41:17 simonm Exp $
* $Id: GC.c,v 1.29 1999/02/09 12:50:38 simonm Exp $
*
* (c) The GHC Team 1998-1999
*
......@@ -558,7 +558,7 @@ void GarbageCollect(void (*get_roots)(void))
* performance we get from 3L bytes, reducing to the same
* performance at 2L bytes.
*/
blocks = g0s0->n_blocks;
blocks = g0s0->to_blocks;
if ( blocks * RtsFlags.GcFlags.oldGenFactor * 2 >
RtsFlags.GcFlags.maxHeapSize ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment