[project @ 1999-01-13 17:25:37 by simonm]
Added a generational garbage collector. The collector is reliable but fairly untuned as yet. It works with an arbitrary number of generations: use +RTS -G<gens> to change the number of generations used (default 2). Stats: +RTS -Sstderr is quite useful, but to really see what's going on compile the RTS with -DDEBUG and use +RTS -D32. ARR_PTRS removed - it wasn't used anywhere. Sanity checking improved: - free blocks are now spammed when sanity checking is turned on - a check for leaking blocks is performed after each GC.
Showing
- ghc/docs/users_guide/runtime_control.vsgml 35 additions, 27 deletionsghc/docs/users_guide/runtime_control.vsgml
- ghc/driver/ghc.lprl 1 addition, 1 deletionghc/driver/ghc.lprl
- ghc/includes/Block.h 6 additions, 5 deletionsghc/includes/Block.h
- ghc/includes/ClosureMacros.h 3 additions, 5 deletionsghc/includes/ClosureMacros.h
- ghc/includes/ClosureTypes.h 19 additions, 32 deletionsghc/includes/ClosureTypes.h
- ghc/includes/Closures.h 21 additions, 5 deletionsghc/includes/Closures.h
- ghc/includes/InfoTables.h 35 additions, 20 deletionsghc/includes/InfoTables.h
- ghc/includes/PrimOps.h 5 additions, 6 deletionsghc/includes/PrimOps.h
- ghc/includes/Rts.h 1 addition, 1 deletionghc/includes/Rts.h
- ghc/includes/StgMiscClosures.h 6 additions, 3 deletionsghc/includes/StgMiscClosures.h
- ghc/includes/TSO.h 3 additions, 2 deletionsghc/includes/TSO.h
- ghc/includes/Updates.h 11 additions, 18 deletionsghc/includes/Updates.h
- ghc/rts/BlockAlloc.c 21 additions, 4 deletionsghc/rts/BlockAlloc.c
- ghc/rts/BlockAlloc.h 2 additions, 1 deletionghc/rts/BlockAlloc.h
- ghc/rts/DebugProf.c 2 additions, 4 deletionsghc/rts/DebugProf.c
- ghc/rts/GC.c 1026 additions, 291 deletionsghc/rts/GC.c
- ghc/rts/MBlock.c 5 additions, 1 deletionghc/rts/MBlock.c
- ghc/rts/MBlock.h 3 additions, 1 deletionghc/rts/MBlock.h
- ghc/rts/Makefile 1 addition, 1 deletionghc/rts/Makefile
- ghc/rts/PrimOps.hc 5 additions, 5 deletionsghc/rts/PrimOps.hc
Loading
Please register or sign in to comment