[svn:parrot] r49599 - branches/generational_gc/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Oct 20 06:25:44 UTC 2010
Author: bacek
Date: Wed Oct 20 06:25:44 2010
New Revision: 49599
URL: https://trac.parrot.org/parrot/changeset/49599
Log:
Increase amount of allocated memory between collects to 16MB.
Modified:
branches/generational_gc/src/gc/gc_ms2.c
Modified: branches/generational_gc/src/gc/gc_ms2.c
==============================================================================
--- branches/generational_gc/src/gc/gc_ms2.c Wed Oct 20 06:25:35 2010 (r49598)
+++ branches/generational_gc/src/gc/gc_ms2.c Wed Oct 20 06:25:44 2010 (r49599)
@@ -614,7 +614,7 @@
/* Collect every 256M allocated. */
/* Hardcode for now. Will be configured via CLI */
- self->gc_threshold = 1 * 1024 * 1024;
+ self->gc_threshold = 16 * 1024 * 1024;
}
interp->gc_sys->gc_private = self;
@@ -628,7 +628,7 @@
MarkSweep_GC *self = (MarkSweep_GC *)interp->gc_sys->gc_private;
List_Item_Header *tmp;
Linked_List *list;
- int i, gen;
+ int i, gen = -1;
/*
* Remember current postions of objects.
More information about the parrot-commits
mailing list