projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5ed9db7
)
Don't call processHeapClosureForDead on pinned blocks
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 16 Mar 2009 16:05:34 +0000
(16:05 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 16 Mar 2009 16:05:34 +0000
(16:05 +0000)
Fixes heapprof001(prof_hp) after fix for #2917
rts/LdvProfile.c
patch
|
blob
|
history
diff --git
a/rts/LdvProfile.c
b/rts/LdvProfile.c
index
6a807cf
..
eab3ec3
100644
(file)
--- a/
rts/LdvProfile.c
+++ b/
rts/LdvProfile.c
@@
-266,7
+266,9
@@
processChainForDead( bdescr *bd )
{
// Any object still in the chain is dead!
while (bd != NULL) {
- processHeapClosureForDead((StgClosure *)bd->start);
+ if (!(bd->flags & BF_PINNED)) {
+ processHeapClosureForDead((StgClosure *)bd->start);
+ }
bd = bd->link;
}
}