diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-10-12 12:44:13 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-10-12 12:44:13 +0000 |
commit | c1540c3def6281ea67b5a4ce7499b1aa982faa25 (patch) | |
tree | 0c1faa326af3cf88b05b196f9488f0d470518478 /rts/RetainerProfile.c | |
parent | 05b677fad57427a5639b36a1822c9ebd52cb3339 (diff) | |
download | haskell-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/RetainerProfile.c')
-rw-r--r-- | rts/RetainerProfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c index 745b8e75db..e96356734d 100644 --- a/rts/RetainerProfile.c +++ b/rts/RetainerProfile.c @@ -2170,7 +2170,7 @@ smallObjectPoolCheck(void) StgPtr p; static nat costSum, size; - bd = small_alloc_list; + bd = g0s0->blocks; costSum = 0; // first block |