Changes between Version 6 and Version 7 of Debugging/RuntimeSystem


Ignore:
Timestamp:
May 27, 2015 1:38:36 AM (4 years ago)
Author:
erikd
Comment:

Update -RTS -DX flags for ghc 7.8

Legend:

Unmodified
Added
Removed
Modified
  • Debugging/RuntimeSystem

    v6 v7  
    1212to see logging information from the scheduler.
    1313
    14 Use `+RTS -?` to see a list of all the `-D` flags. The current list (GHC 6.12) is:
     14Use `+RTS -?` to see a list of all the `-D` flags. The current list (GHC 7.8) is:
    1515{{{
    1616  -Ds  DEBUG: scheduler
     
    2323  -Dt  DEBUG: stable
    2424  -Dp  DEBUG: prof
    25   -Dr  DEBUG: gran
    26   -DP  DEBUG: par
     25  -Da  DEBUG: apply
    2726  -Dl  DEBUG: linker
    2827  -Dm  DEBUG: stm
    29   -Dz  DEBUG: stack squezing
     28  -Dz  DEBUG: stack squeezing
    3029  -Dc  DEBUG: program coverage
     30  -Dr  DEBUG: sparks
    3131}}}
    3232Of these, `-DS` (sanity checking) is special. It switches on lots of expensive consistency checks, including a full heap consistency check which runs after every garbage collection.  Your program will run a lot slower, but it helps when tracking down garbage-collection errors.