[svn:parrot] r49597 - branches/generational_gc/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Oct 20 06:25:26 UTC 2010


Author: bacek
Date: Wed Oct 20 06:25:26 2010
New Revision: 49597
URL: https://trac.parrot.org/parrot/changeset/49597

Log:
Output amount of allocated attributes

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 06:25:17 2010	(r49596)
+++ branches/generational_gc/src/gc/gc_ms2.c	Wed Oct 20 06:25:26 2010	(r49597)
@@ -2053,6 +2053,8 @@
     fprintf(stderr, "buffers: %d\n", self->string_gc.memory_pool->total_allocated);
     fprintf(stderr, "const buffers: %d\n", self->string_gc.constant_string_pool->total_allocated);
 
+    fprintf(stderr, "attrs: %d\n", Parrot_gc_fixed_allocator_allocated_memory(interp, self->fixed_size_allocator));
+
     fprintf(stderr, "\n");
 
 #endif


More information about the parrot-commits mailing list