summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
83f0769)
fix calculation of copied bytes, we had a words/bytes mismatch when
adding the size of the mutable list
// stats. Every mutable list is copied during every GC.
if (g > 0) {
for (bd = generations[g].mut_list; bd != NULL; bd = bd->link) {
// stats. Every mutable list is copied during every GC.
if (g > 0) {
for (bd = generations[g].mut_list; bd != NULL; bd = bd->link) {
- copied += (bd->free - bd->start) * sizeof(StgWord);
+ copied += bd->free - bd->start;