[svn:parrot] r39531 - trunk/src/gc
chromatic at svn.parrot.org
chromatic at svn.parrot.org
Sat Jun 13 01:23:33 UTC 2009
Author: chromatic
Date: Sat Jun 13 01:23:31 2009
New Revision: 39531
URL: https://trac.parrot.org/parrot/changeset/39531
Log:
[GC] Reverted r39215, which caused the GC to allocate more pools unnecessarily
and caused long programs to run out of memory. This needs some rethinking.
Modified:
trunk/src/gc/gc_ms.c
Modified: trunk/src/gc/gc_ms.c
==============================================================================
--- trunk/src/gc/gc_ms.c Fri Jun 12 23:35:06 2009 (r39530)
+++ trunk/src/gc/gc_ms.c Sat Jun 13 01:23:31 2009 (r39531)
@@ -373,7 +373,7 @@
if (arena->used == arena->total_objects)
Parrot_gc_mark_and_sweep(interp, GC_trace_stack_FLAG);
- if (pool->num_free_objects > pool->replenish_level)
+ if (pool->num_free_objects <= pool->replenish_level)
pool->skip = 1;
}
}
More information about the parrot-commits
mailing list