[svn:parrot] r49591 - branches/generational_gc/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Oct 20 02:00:31 UTC 2010
Author: bacek
Date: Wed Oct 20 02:00:31 2010
New Revision: 49591
URL: https://trac.parrot.org/parrot/changeset/49591
Log:
Remove "constant" objects from pools to avoid processing them over and
over again.
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 02:00:22 2010 (r49590)
+++ branches/generational_gc/src/gc/gc_ms2.c Wed Oct 20 02:00:31 2010 (r49591)
@@ -1582,6 +1582,10 @@
Parrot_gc_pool_free(interp, pool, tmp);
}
+ else {
+ /* Remove "constant" objects from pool. We don't handle them */
+ LIST_REMOVE(list, tmp);
+ }
tmp = next;
}
}
More information about the parrot-commits
mailing list