[svn:parrot] r49170 - branches/gc_massacre/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Mon Sep 20 10:57:47 UTC 2010
Author: bacek
Date: Mon Sep 20 10:57:47 2010
New Revision: 49170
URL: https://trac.parrot.org/parrot/changeset/49170
Log:
Use passed GC_Statisticts in compact_pool
Modified:
branches/gc_massacre/src/gc/string_gc.c
Modified: branches/gc_massacre/src/gc/string_gc.c
==============================================================================
--- branches/gc_massacre/src/gc/string_gc.c Mon Sep 20 10:57:20 2010 (r49169)
+++ branches/gc_massacre/src/gc/string_gc.c Mon Sep 20 10:57:47 2010 (r49170)
@@ -827,9 +827,9 @@
Parrot_block_GC_mark(interp);
/* We're collecting */
- interp->gc_sys->stats.mem_allocs_since_last_collect = 0;
- interp->gc_sys->stats.header_allocs_since_last_collect = 0;
- ++interp->gc_sys->stats.gc_collect_runs;
+ stats->mem_allocs_since_last_collect = 0;
+ stats->header_allocs_since_last_collect = 0;
+ ++stats->gc_collect_runs;
/* Snag a block big enough for everything */
total_size = pad_pool_size(pool);
More information about the parrot-commits
mailing list