Author: Maciej Fijalkowski <[email protected]>
Branch: gc-counters
Changeset: r75079:db1879e7c5f7
Date: 2014-12-23 15:49 +0200
http://bitbucket.org/pypy/pypy/changeset/db1879e7c5f7/
Log: count the total size
diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -1862,7 +1862,7 @@
typeid = self.get_type_id(obj)
# XXX
- self.tid_counters[typeid] += 1
+ self.tid_counters[typeid] += totalsize
obj = llarena.getfakearenaaddress(obj)
llarena.arena_reset(obj - size_gc_header, totalsize, 0)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit