implement clean/dirty TSOs
authorSimon Marlow <simonmar@microsoft.com>
Mon, 23 Jan 2006 16:49:30 +0000 (16:49 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 23 Jan 2006 16:49:30 +0000 (16:49 +0000)
commit9d909b3bb9a0740f272dadf4a35b642e1404fe3c
tree66cf298ff22171247140234a5a5d6967597e97c3
parent380148608fa354ac972d45aa933400a1a5c4dd7f
implement clean/dirty TSOs
Along the lines of the clean/dirty arrays and IORefs implemented
recently, now threads are marked clean or dirty depending on whether
they need to be scanned during a minor GC or not.  This should speed
up GC when there are lots of threads, especially if most of them are
idle.
ghc/includes/TSO.h
ghc/rts/GC.c
ghc/rts/Schedule.c
ghc/rts/Schedule.h