[svn:parrot] r47176 - branches/gc_massacre/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun May 30 22:50:46 UTC 2010
Author: bacek
Date: Sun May 30 22:50:46 2010
New Revision: 47176
URL: https://trac.parrot.org/parrot/changeset/47176
Log:
Remove allocating of Memory_Pools in gc_tms. They are not needed anymore
Modified:
branches/gc_massacre/src/gc/gc_tms.c
Modified: branches/gc_massacre/src/gc/gc_tms.c
==============================================================================
--- branches/gc_massacre/src/gc/gc_tms.c Sun May 30 22:50:10 2010 (r47175)
+++ branches/gc_massacre/src/gc/gc_tms.c Sun May 30 22:50:46 2010 (r47176)
@@ -476,16 +476,6 @@
ASSERT_ARGS(Parrot_gc_tms_init)
struct TriColor_GC *self;
- /* Compatibility with "old" GC */
- /* Used only in trace_system_stack, etc. */
- /* Remove after switching to GC.trace_roots */
- interp->mem_pools = mem_internal_allocate_zeroed_typed(Memory_Pools);
- interp->mem_pools->num_sized = 0;
- interp->mem_pools->num_attribs = 0;
- interp->mem_pools->attrib_pools = NULL;
- interp->mem_pools->sized_header_pools = NULL;
-
-
interp->gc_sys->do_gc_mark = gc_tms_mark_and_sweep;
interp->gc_sys->finalize_gc_system = NULL;
@@ -601,7 +591,7 @@
/*
self.grey_objects = self.trace_roots();
*/
- Parrot_gc_trace_root(interp, interp->mem_pools, 0);
+ Parrot_gc_trace_root(interp, NULL, 0);
//fprintf(stderr, "Roots %d\n", self->grey_objects->count);
More information about the parrot-commits
mailing list