summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-12 12:44:13 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-12 12:44:13 +0000
commitc1540c3def6281ea67b5a4ce7499b1aa982faa25 (patch)
tree0c1faa326af3cf88b05b196f9488f0d470518478 /rts/ProfHeap.c
parent05b677fad57427a5639b36a1822c9ebd52cb3339 (diff)
downloadhaskell-c1540c3def6281ea67b5a4ce7499b1aa982faa25.tar.gz
Add allocateInGen() for allocating in a specific generation, and cleanups
Now allocate() is a synonym for allocateInGen(). I also made various cleanups: there is now less special-case code for supporting -G1 (two-space collection), and -G1 now works with -threaded.
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r--rts/ProfHeap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 08597b1d98..599b479c8d 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -1151,13 +1151,6 @@ heapCensus( void )
#endif
// Traverse the heap, collecting the census info
-
- // First the small_alloc_list: we have to fix the free pointer at
- // the end by calling tidyAllocatedLists() first.
- tidyAllocateLists();
- heapCensusChain( census, small_alloc_list );
-
- // Now traverse the heap in each generation/step.
if (RtsFlags.GcFlags.generations == 1) {
heapCensusChain( census, g0s0->blocks );
} else {