[project @ 2003-09-23 15:38:35 by simonmar]
authorsimonmar <unknown>
Tue, 23 Sep 2003 15:38:36 +0000 (15:38 +0000)
committersimonmar <unknown>
Tue, 23 Sep 2003 15:38:36 +0000 (15:38 +0000)
commit76ebf3dcb916a1116302896090059c9c32ab5c6a
tree23071063815db3f981e85a6663a6918cbd49a96d
parent69373e1efb0acf58d793c2fd8d3416decbd1a571
[project @ 2003-09-23 15:38:35 by simonmar]
Add a BF_PINNED block flag, and attach it to blocks containing pinned
objects (in addition to the usual BF_LARGE).

In heapCensus, we now ignore blocks containing pinned objects, because
they might contain gaps, and in any case it isn't clear that we want
to include the whole block in a heap census, because much of it might
well be dead.  Ignoring it isn't right either, though, so this patch
just fixes the crash and leaves a ToDo.
ghc/includes/Block.h
ghc/rts/ProfHeap.c
ghc/rts/Storage.c