projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RTS also uses runSparks_closure from base
[ghc-hetmet.git]
/
rts
/
sm
/
BlockAlloc.h
diff --git
a/rts/sm/BlockAlloc.h
b/rts/sm/BlockAlloc.h
index
594135a
..
00efeb4
100644
(file)
--- a/
rts/sm/BlockAlloc.h
+++ b/
rts/sm/BlockAlloc.h
@@
-9,14
+9,20
@@
#ifndef BLOCK_ALLOC_H
#define BLOCK_ALLOC_H
#ifndef BLOCK_ALLOC_H
#define BLOCK_ALLOC_H
+BEGIN_RTS_PRIVATE
+
/* Debugging -------------------------------------------------------------- */
#ifdef DEBUG
/* Debugging -------------------------------------------------------------- */
#ifdef DEBUG
-extern void checkFreeListSanity(void);
-nat countFreeList(void);
+void checkFreeListSanity(void);
+nat countFreeList(void);
+void markBlocks (bdescr *bd);
+void reportUnmarkedBlocks (void);
#endif
extern lnat n_alloc_blocks; // currently allocated blocks
extern lnat hw_alloc_blocks; // high-water allocated blocks
#endif
extern lnat n_alloc_blocks; // currently allocated blocks
extern lnat hw_alloc_blocks; // high-water allocated blocks
+END_RTS_PRIVATE
+
#endif /* BLOCK_ALLOC_H */
#endif /* BLOCK_ALLOC_H */