Tue Oct 24 02:13:57 PDT 2006 Simon Marlow <[EMAIL PROTECTED]>
* Split GC.c, and move storage manager into sm/ directory
In preparation for parallel GC, split up the monolithic GC.c file into
smaller parts. Also in this patch (and difficult to separate,
unfortunatley):
- Don't include Stable.h in Rts.h, instead just include it where
necessary.
- consistently use STATIC_INLINE in source files, and INLINE_HEADER
in header files. STATIC_INLINE is now turned off when DEBUG is on,
to make debugging easier.
- The GC no longer takes the get_roots function as an argument.
We weren't making use of this generalisation.
./rts/BlockAlloc.c -> ./rts/sm/BlockAlloc.c
./rts/BlockAlloc.h -> ./rts/sm/BlockAlloc.h
./rts/GC.c -> ./rts/sm/GC.c
./rts/GCCompact.c -> ./rts/sm/Compact.c
./rts/GCCompact.h -> ./rts/sm/Compact.h
./rts/MBlock.c -> ./rts/sm/MBlock.c
./rts/MBlock.h -> ./rts/sm/MBlock.h
./rts/OSMem.h -> ./rts/sm/OSMem.h
./rts/Storage.c -> ./rts/sm/Storage.c
M ./includes/Rts.h -4 +7
M ./includes/RtsExternal.h -3
M ./includes/Stg.h -1 +3
M ./includes/Storage.h -3 +5
M ./includes/mkDerivedConstants.c +1
M ./rts/Adjustor.c +1
M ./rts/Arena.c -1
M ./rts/Capability.c +1
M ./rts/Disassembler.c +1
M ./rts/HCIncludes.h -1 +2
M ./rts/HsFFI.c +2
M ./rts/Interpreter.c -1 +1
M ./rts/Linker.c -1 +2
M ./rts/Main.c -1
M ./rts/Makefile -3 +3
M ./rts/RaiseAsync.c -1 +1
M ./rts/RaiseAsync.h -1 +1
M ./rts/RetainerProfile.c -2 +2
M ./rts/RtsAPI.c +1
M ./rts/RtsFlags.c -1
M ./rts/RtsStartup.c +1
M ./rts/STM.c -1 +1
M ./rts/Schedule.c -25 +12
M ./rts/Schedule.h -10 +10
M ./rts/Sparks.c -1 +1
M ./rts/Stable.c +1
M ./rts/Stats.c -1 +1
M ./rts/Task.c +1
A ./rts/ThreadPaused.c
M ./rts/Timer.c +1
M ./rts/Typeable.c +10
M ./rts/parallel/GranSim.c -2 +2
M ./rts/posix/Itimer.c +1
M ./rts/posix/Select.c +1
M ./rts/posix/Signals.c +2
A ./rts/sm/
M ./rts/sm/Compact.c -4 +7
M ./rts/sm/Compact.h -4 +34
A ./rts/sm/Evac.c
A ./rts/sm/Evac.h
M ./rts/sm/GC.c -3581 +31
A ./rts/sm/GC.h
A ./rts/sm/GCUtils.c
A ./rts/sm/GCUtils.h
A ./rts/sm/MarkWeak.c
A ./rts/sm/MarkWeak.h
A ./rts/sm/README
A ./rts/sm/Scav.c
A ./rts/sm/Scav.h
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc