X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FLdvProfile.c;h=eab3ec3e4b945a5c2ed3c4649c66b73f99c53a38;hb=de75026f5a48d3d052135a973ab4dff76c5b20f5;hp=6a807cf37747a0076e151dba29fa356adf3144f0;hpb=d600bf7a6afdbfc4a22f9379406a9c6f789a4c2d;p=ghc-hetmet.git diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c index 6a807cf..eab3ec3 100644 --- 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; } }