Commit 1446bc7d authored by simonmar's avatar simonmar
Browse files

[project @ 2005-10-12 12:57:23 by simonmar]

checkHeap: just return on SMP, we can't do heap sanity checking
because we can't zero slop words safely.
parent a3a33106
...@@ -547,6 +547,12 @@ checkHeap(bdescr *bd) ...@@ -547,6 +547,12 @@ checkHeap(bdescr *bd)
{ {
StgPtr p; StgPtr p;
#if defined(SMP)
// heap sanity checking doesn't work with SMP, because we can't
// zero the slop (see Updates.h).
return;
#endif
for (; bd != NULL; bd = bd->link) { for (; bd != NULL; bd = bd->link) {
p = bd->start; p = bd->start;
while (p < bd->free) { while (p < bd->free) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment