[project @ 1999-01-18 15:21:37 by simonm]
- BLACKHOLE_BQ is a mutable object, because new threads get added to its blocking_queue field. Hence add a mut_link field and treat it as mutable in the garbage collector. - Change StgBlackHole to StgBlockingQueue while I'm at it. - Optimise evacuation of black holes: don't copy the padding words, just skip over them. - Several garbage collection fixes. - Improve sanity checking: now the older generations are fully checked at each GC.
Showing
- ghc/includes/Closures.h 3 additions, 2 deletionsghc/includes/Closures.h
- ghc/includes/InfoTables.h 2 additions, 2 deletionsghc/includes/InfoTables.h
- ghc/includes/Updates.h 2 additions, 2 deletionsghc/includes/Updates.h
- ghc/rts/GC.c 89 additions, 58 deletionsghc/rts/GC.c
- ghc/rts/Printer.c 3 additions, 3 deletionsghc/rts/Printer.c
- ghc/rts/StgMiscClosures.hc 14 additions, 7 deletionsghc/rts/StgMiscClosures.hc
- ghc/rts/Storage.h 2 additions, 2 deletionsghc/rts/Storage.h
- ghc/rts/StoragePriv.h 4 additions, 7 deletionsghc/rts/StoragePriv.h
Loading
Please register or sign in to comment