diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-12-21 15:29:56 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-12-21 15:29:56 +0000 |
commit | db0c13a482893243cc829bbc253862e65f437cbe (patch) | |
tree | 96e3977a77b92f102c03518d826368cec5cd1229 /includes/stg/MiscClosures.h | |
parent | 1d7a3cf332532b1f9d798b44e76c4be6f0c74dcf (diff) | |
download | haskell-db0c13a482893243cc829bbc253862e65f437cbe.tar.gz |
Count allocations more accurately
The allocation stats (+RTS -s etc.) used to count the slop at the end
of each nursery block (except the last) as allocated space, now we
count the allocated words accurately. This should make allocation
figures more predictable, too.
This has the side effect of reducing the apparent allocations by a
small amount (~1%), so remember to take this into account when looking
at nofib results.
Diffstat (limited to 'includes/stg/MiscClosures.h')
-rw-r--r-- | includes/stg/MiscClosures.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index c52a3c9702..e6cfc47bfa 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -474,7 +474,7 @@ extern StgWord stg_stack_save_entries[]; // Storage.c extern unsigned int RTS_VAR(g0); -extern unsigned int RTS_VAR(alloc_blocks_lim); +extern unsigned int RTS_VAR(large_alloc_lim); extern StgWord RTS_VAR(weak_ptr_list); extern StgWord RTS_VAR(atomic_modify_mutvar_mutex); |