1. 14 Feb, 2013 3 commits
    • Simon Marlow's avatar
      Separate StablePtr and StableName tables (#7674) · 7e7a4e4d
      Simon Marlow authored
      To improve performance of StablePtr.
      7e7a4e4d
    • Simon Marlow's avatar
      Simplify the allocation stats accounting · 65a0e1eb
      Simon Marlow authored
      We were doing it in two different ways and asserting that the results
      were the same.  In most cases they were, but I found one case where
      they weren't: the GC itself allocates some memory for running
      finalizers, and this memory was accounted for one way but not the
      other.
      
      It was simpler to remove the old way of counting allocation that to
      try to fix it up, so I did that.
      65a0e1eb
    • Simon Marlow's avatar
      Fixes to the rts C flags for the debug way · e5085db5
      Simon Marlow authored
      An earlier attempt at cleaning things up had made the debug way
      compile with optimisation due to flag ordering issues.
      e5085db5
  2. 12 Feb, 2013 4 commits
  3. 07 Feb, 2013 2 commits
  4. 06 Feb, 2013 1 commit
    • Ian Lynagh's avatar
      Fix threadDelay on Windows; fixes ThreadDelay001 failures · 8c8e959f
      Ian Lynagh authored
      MSDN says of Sleep:
          If dwMilliseconds is greater than one tick but less than two, the
          wait can be anywhere between one and two ticks, and so on.
      so we need to add (milliseconds-per-tick - 1) to the amount of time we
      sleep for.
      8c8e959f
  5. 05 Feb, 2013 1 commit
  6. 02 Feb, 2013 1 commit
  7. 01 Feb, 2013 1 commit
  8. 30 Jan, 2013 3 commits
    • Simon Marlow's avatar
      fix warnings · dbefe7b8
      Simon Marlow authored
      dbefe7b8
    • Ben Gamari's avatar
      STM: Only wake up once · a23661d2
      Ben Gamari authored
      Previously, threads blocked on an STM retry would be sent a wakeup
      message each time an unpark was requested. This could result in the
      accumulation of a large number of wake-up messages, which would slow
      wake-up once the sleeping thread is finally scheduled.
      
      Here, we introduce a new closure type, STM_AWOKEN, which marks a TSO
      which has been sent a wake-up message, allowing us to send only one
      wakeup.
      a23661d2
    • Ben Gamari's avatar
      658817bf
  9. 29 Jan, 2013 2 commits
  10. 28 Jan, 2013 1 commit
  11. 23 Jan, 2013 2 commits
  12. 17 Jan, 2013 6 commits
  13. 16 Jan, 2013 1 commit
  14. 09 Jan, 2013 2 commits
  15. 04 Jan, 2013 1 commit
    • ian@well-typed.com's avatar
      Add a -rpath entry for the RTS library, so that it can find libffi · 9d9d09de
      ian@well-typed.com authored
      This fixes dynamic library resolution when --enable-new-dtags is used
      (#7062).
      
      When --enable-new-dtags is used when linking an executable, a RUNPATH as
      well as RPATH is set. The linker then ignores RPATH, and RUNPATH is only
      used for directly (not transitively) needed libraries. As the program
      doesn't directly need libffi, it isn't found.
      9d9d09de
  16. 18 Dec, 2012 2 commits
  17. 13 Dec, 2012 1 commit
  18. 11 Dec, 2012 1 commit
  19. 10 Dec, 2012 1 commit
    • Simon Marlow's avatar
      Fix a bug in the handling of nested orElse · f184d9ca
      Simon Marlow authored
      Exposed by the following snippet, courtesy of Bas van Dijk and Patrick
      Palka on libraries@haskell.org:
      
      import Control.Concurrent.STM
      main = do
        x <- atomically $ do
               t <- newTVar 1
               writeTVar t 2
               ((readTVar t >> retry) `orElse` return ()) `orElse` return ()
               readTVar t
        print x
      f184d9ca
  20. 01 Dec, 2012 1 commit
  21. 30 Nov, 2012 2 commits
  22. 29 Nov, 2012 1 commit