1. 29 Aug, 2009 1 commit
    • Simon Marlow's avatar
      Unify event logging and debug tracing. · a5288c55
      Simon Marlow authored
        - tracing facilities are now enabled with -DTRACING, and -DDEBUG
          additionally enables debug-tracing.  -DEVENTLOG has been
          removed.
      
        - -debug now implies -eventlog
      
        - events can be printed to stderr instead of being sent to the
          binary .eventlog file by adding +RTS -v (which is implied by the
          +RTS -Dx options).
      
        - -Dx debug messages can be sent to the binary .eventlog file
          by adding +RTS -l.  This should help debugging by reducing
          the impact of debug tracing on execution time.
      
        - Various debug messages that duplicated the information in events
          have been removed.
      a5288c55
  2. 31 Aug, 2009 1 commit
  3. 30 Aug, 2009 1 commit
  4. 29 Aug, 2009 2 commits
  5. 05 Aug, 2009 1 commit
  6. 26 Aug, 2009 1 commit
  7. 28 Aug, 2009 1 commit
  8. 20 Aug, 2009 1 commit
  9. 23 Aug, 2009 1 commit
  10. 21 Aug, 2009 1 commit
  11. 20 Aug, 2009 6 commits
  12. 19 Aug, 2009 6 commits
  13. 18 Aug, 2009 1 commit
    • Simon Marlow's avatar
      Fix #3429: a tricky race condition · c5cafbcc
      Simon Marlow authored
      There were two bugs, and had it not been for the first one we would
      not have noticed the second one, so this is quite fortunate.
      
      The first bug is in stg_unblockAsyncExceptionszh_ret, when we found a
      pending exception to raise, but don't end up raising it, there was a
      missing adjustment to the stack pointer.  
      
      The second bug was that this case was actually happening at all: it
      ought to be incredibly rare, because the pending exception thread
      would have to be killed between us finding it and attempting to raise
      the exception.  This made me suspicious.  It turned out that there was
      a race condition on the tso->flags field; multiple threads were
      updating this bitmask field non-atomically (one of the bits is the
      dirty-bit for the generational GC).  The fix is to move the dirty bit
      into its own field of the TSO, making the TSO one word larger (sadly).
      c5cafbcc
  14. 14 Aug, 2009 1 commit
  15. 12 Aug, 2009 1 commit
  16. 07 Aug, 2009 1 commit
  17. 06 Aug, 2009 2 commits
  18. 05 Aug, 2009 2 commits
  19. 03 Aug, 2009 8 commits
  20. 02 Aug, 2009 1 commit