[project @ 2005-02-28 17:01:13 by simonmar]
authorsimonmar <unknown>
Mon, 28 Feb 2005 17:01:23 +0000 (17:01 +0000)
committersimonmar <unknown>
Mon, 28 Feb 2005 17:01:23 +0000 (17:01 +0000)
commit6d194f48d7313fa8daa004b7b3e3a55ffa52f4a9
tree66a632ae47fba6211f872d89f1b85febbf9ad578
parenta84285247bfb162fdefc3fcb8be88c34c1f5cd35
[project @ 2005-02-28 17:01:13 by simonmar]
Optimisation: the update code only needs to check whether the closure
being updated is a BLACKHOLE_BQ if it has been blackholed; which is
only the case after lazy blackholing has taken place.

So to avoid this unnecessary cost, we have two kinds of update frame:
one which checks for BLACKHOLE_BQ and one that doesn't, and the lazy
blackholing algorithm converts the latter kind into the former as it
replaces thunks with blackholes.
ghc/includes/StgMiscClosures.h
ghc/includes/Updates.h
ghc/rts/GC.c
ghc/rts/Makefile
ghc/rts/Updates.cmm