patch applied (ghc): Add +RTS -vg flag for requesting some GC trace messages, outside DEBUG

Simon Marlow simonmarhaskell at gmail.com
Tue Jun 17 10:37:18 EDT 2008


Wed Apr 16 14:35:04 PDT 2008  Simon Marlow <simonmarhaskell at gmail.com>
  * Add +RTS -vg flag for requesting some GC trace messages, outside DEBUG
  DEBUG imposes a significant performance hit in the GC, yet we often
  want some of the debugging output, so -vg gives us the cheap trace
  messages without the sanity checking of DEBUG, just like -vs for the
  scheduler.

    M ./includes/RtsFlags.h +1
    M ./rts/RtsFlags.c +4
    M ./rts/Stats.c -2
    M ./rts/Trace.c +1
    M ./rts/Trace.h -7 +4
    M ./rts/sm/GC.c -4 +20
    M ./rts/sm/GC.h +8
    M ./rts/sm/GCUtils.c -1 +1
    M ./rts/sm/Scav.c +6

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080416213504-8214f-ad64c5a773e7c927257b60aaca324c9dea8b93f2.gz



More information about the Cvs-ghc mailing list