patch applied (ghc): Reorganisation to fix problems related to the gct register variable

Simon Marlow simonmarhaskell at gmail.com
Tue Jun 17 10:38:49 EDT 2008


Wed Apr 16 16:22:32 PDT 2008  Simon Marlow <simonmarhaskell at gmail.com>
  * Reorganisation to fix problems related to the gct register variable
    - GCAux.c contains code not compiled with the gct register enabled,
      it is callable from outside the GC
    - marking functions are moved to their relevant subsystems, outside
      the GC
    - mark_root needs to save the gct register, as it is called from
      outside the GC

    M ./includes/Stable.h -2 +2
    M ./includes/Storage.h -3 +4
    M ./rts/Capability.c +50
    M ./rts/Capability.h +4
    M ./rts/RetainerProfile.c -4 +4
    M ./rts/RtsSignals.h -1 +1
    M ./rts/Sparks.c +69
    M ./rts/Sparks.h +1
    M ./rts/Stable.c -5 +5
    M ./rts/Stats.c -2
    M ./rts/posix/Signals.c -3 +3
    M ./rts/sm/Compact.c -5 +11
    M ./rts/sm/Compact.h -1 +1
    M ./rts/sm/Evac.c +1
    M ./rts/sm/Evac.h -4
    M ./rts/sm/GC.c -252 +22
    M ./rts/sm/GC.h -165 +9
    A ./rts/sm/GCAux.c
    A ./rts/sm/GCThread.h
    M ./rts/sm/GCUtils.c +1
    M ./rts/sm/GCUtils.h -4
    M ./rts/sm/MarkWeak.c +1
    M ./rts/sm/Scav.c +1
    M ./rts/sm/Storage.c -1
    M ./rts/win32/ConsoleHandler.c -1 +1

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080416232232-8214f-1618f2431fe64f7d3197506feb807c0edaa511b8.gz



More information about the Cvs-ghc mailing list