diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-06-15 16:40:16 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-07-01 09:01:48 +0100 |
commit | d56cbac1a875ea9f52f586be8fb6f305c706ca1d (patch) | |
tree | fa8656a34c2f79f38ffeaf1a64291008e9d1b967 /compiler/codeGen/CodeGen.lhs | |
parent | bd6a73b06aad1cf99ca8eca4dbd15b153ee147d4 (diff) | |
download | haskell-d56cbac1a875ea9f52f586be8fb6f305c706ca1d.tar.gz |
Better heap profiling for pinned objects (e.g. ByteStrings).
Previously we were completely ignoring these, due to the difficulties
of traversing the pinned blocks (the objects are not necessarily
end-to-end, we can't tell how large the gaps are). Now just count the
whole block as a big ARR_WORDS, so at least we're accounting for the
memory and it has the right type.
Diffstat (limited to 'compiler/codeGen/CodeGen.lhs')
0 files changed, 0 insertions, 0 deletions