[svn:parrot] r49602 - trunk/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Oct 20 08:51:08 UTC 2010
Author: bacek
Date: Wed Oct 20 08:51:08 2010
New Revision: 49602
URL: https://trac.parrot.org/parrot/changeset/49602
Log:
Use 1/8 of available memory for gc_threshold
Modified:
trunk/src/gc/gc_ms2.c
Modified: trunk/src/gc/gc_ms2.c
==============================================================================
--- trunk/src/gc/gc_ms2.c Wed Oct 20 08:50:56 2010 (r49601)
+++ trunk/src/gc/gc_ms2.c Wed Oct 20 08:51:08 2010 (r49602)
@@ -632,7 +632,7 @@
/* Collect every 256M allocated. */
/* Hardcode for now. Will be configured via CLI */
- self->gc_threshold = 256 * 1024 * 1024;
+ self->gc_threshold = Parrot_sysmem_amount() / 8;
}
interp->gc_sys->gc_private = self;
More information about the parrot-commits
mailing list