summaryrefslogtreecommitdiff
path: root/rts/Stats.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-31 14:45:42 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-31 14:45:42 +0000
commitcacd714cd545bc3bd07882904055cfee162bd7de (patch)
tree8bf670e81476c6941b1250e09afc43c6866a8989 /rts/Stats.h
parentc357244371ca5eeaa0d56a6bd349e26a3b16b7dc (diff)
downloadhaskell-cacd714cd545bc3bd07882904055cfee162bd7de.tar.gz
Remove the optimisation of avoiding scavenging for certain objects
Some objects don't need to be scavenged, in particular if they have no pointers. This seems like an obvious optimisation, but in fact it only accounts for about 1% of objects (in GHC, for example), and the extra complication means it probably isn't worth doing.
Diffstat (limited to 'rts/Stats.h')
-rw-r--r--rts/Stats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Stats.h b/rts/Stats.h
index f7a14a1e59..2d7e655e3d 100644
--- a/rts/Stats.h
+++ b/rts/Stats.h
@@ -16,7 +16,7 @@ void stat_endInit(void);
void stat_startGC(void);
void stat_endGC (lnat alloc, lnat live,
- lnat copied, lnat scavd_copied, lnat gen);
+ lnat copied, lnat gen);
#ifdef PROFILING
void stat_startRP(void);