Remove the optimisation of avoiding scavenging for certain objects
authorSimon Marlow <simonmar@microsoft.com>
Wed, 31 Oct 2007 14:45:42 +0000 (14:45 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 31 Oct 2007 14:45:42 +0000 (14:45 +0000)
commitcacd714cd545bc3bd07882904055cfee162bd7de
tree8bf670e81476c6941b1250e09afc43c6866a8989
parentc357244371ca5eeaa0d56a6bd349e26a3b16b7dc
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.
rts/Stats.c
rts/Stats.h
rts/sm/Evac.c
rts/sm/GC.c
rts/sm/GC.h
rts/sm/GCUtils.c