[svn:parrot] r43373 - branches/boehm_gc/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Jan 2 21:06:16 UTC 2010


Author: bacek
Date: Sat Jan  2 21:06:14 2010
New Revision: 43373
URL: https://trac.parrot.org/parrot/changeset/43373

Log:
Increment gc_collects_run and gc_mark_runs in explicit call to GC.

Modified:
   branches/boehm_gc/src/gc/gc_boehm.c

Modified: branches/boehm_gc/src/gc/gc_boehm.c
==============================================================================
--- branches/boehm_gc/src/gc/gc_boehm.c	Sat Jan  2 20:24:22 2010	(r43372)
+++ branches/boehm_gc/src/gc/gc_boehm.c	Sat Jan  2 21:06:14 2010	(r43373)
@@ -98,11 +98,13 @@
 */
 
 static void
-gc_boehm_mark_and_sweep(SHIM_INTERP, UINTVAL flags)
+gc_boehm_mark_and_sweep(PARROT_INTERP, UINTVAL flags)
 {
     ASSERT_ARGS(gc_boehm_mark_and_sweep)
     UNUSED(flags);
     GC_gcollect();
+    interp->mem_pools->gc_mark_runs++;
+    interp->mem_pools->gc_collect_runs++;
 }
 
 /*


More information about the parrot-commits mailing list