- 14 Feb, 2013 3 commits
-
-
Simon Marlow authored
To improve performance of StablePtr.
-
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.
-
Simon Marlow authored
An earlier attempt at cleaning things up had made the debug way compile with optimisation due to flag ordering issues.
-
- 12 Feb, 2013 4 commits
-
-
kazu-yamamoto authored
-
AndreasVoellmy authored
ioManagerCapabilitiesChanged now queries getNumCapabilities for the current number of enabled capabilities.
-
AndreasVoellmy authored
This enables the IO manager to change the number of IO loops it uses (usually one per capability).
-
AndreasVoellmy authored
-
- 07 Feb, 2013 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
Fixes the following crash: internal error: threadStackUnderflow: not enough space for return values when using STM.
-
- 06 Feb, 2013 1 commit
-
-
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.
-
- 05 Feb, 2013 1 commit
-
-
ian@well-typed.com authored
We were using "us" elsewhere, so this was inconsistent.
-
- 02 Feb, 2013 1 commit
-
-
Gabor Greif authored
-
- 01 Feb, 2013 1 commit
-
-
gmainlan@microsoft.com authored
Vector values are now always passed on the stack. This isn't particularly efficient, but it will have to do for now.
-
- 30 Jan, 2013 3 commits
-
-
Simon Marlow authored
-
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.
-
Ben Gamari authored
-
- 29 Jan, 2013 2 commits
-
-
morabbin authored
-
Simon Marlow authored
-
- 28 Jan, 2013 1 commit
-
-
Edward Z. Yang authored
The bug where TSOs were unconditionally kept on the mutable list was #1589 which was fixed in 04cddd33. Curiously enough, the commit that changed this comment 0417404f occurred *after* this change was made; I can only assume Simon Marlow accidentally forgot that he had fixed this bug. :-) Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 23 Jan, 2013 2 commits
-
-
Simon Marlow authored
Submitted by: Karel Gardas <karel.gardas@centrum.cz>
-
Simon Marlow authored
Submitted by: Karel Gardas <karel.gardas@centrum.cz>
-
- 17 Jan, 2013 6 commits
-
-
ian@well-typed.com authored
-
Simon Marlow authored
Reordering of includes in GC.c broke on OS X because gctKey is declared in Task.h and is needed in the storage manager. This is really the wrong place for it anyway, so I've moved the gctKey pieces to where they should be.
-
ian@well-typed.com authored
Fixes signals004(threaded1,threaded2) on OS X 32.
-
ian@well-typed.com authored
Fixes T3807 on OS X 32.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 16 Jan, 2013 1 commit
-
-
Edward Z. Yang authored
This adds some new functions: peekRunQueue, promoteInRunQueue, singletonRunQueue and truncateRunQueue which help abstract away manual linked list manipulation, making it easier to swap in a new queue implementation. Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 09 Jan, 2013 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 04 Jan, 2013 1 commit
-
-
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.
-
- 18 Dec, 2012 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
This reverts commit f184d9ca. The next commit will fix it in a better way.
-
- 13 Dec, 2012 1 commit
-
-
Simon Marlow authored
-
- 11 Dec, 2012 1 commit
-
-
Simon Marlow authored
-
- 10 Dec, 2012 1 commit
-
-
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
-
- 01 Dec, 2012 1 commit
-
-
ian@well-typed.com authored
Based on a patch from Thorkil Naur.
-
- 30 Nov, 2012 2 commits
-
-
Peter Trommler authored
-
ian@well-typed.com authored
-
- 29 Nov, 2012 1 commit
-
-
ian@well-typed.com authored
Based on patch from Peter Trommler: From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001 From: Peter Trommler <ptrommler@acm.org> Date: Sun, 21 Oct 2012 18:47:01 +0200 Subject: [PATCH] Add configure option to use system provided libffi This fixes track # 5743 and #4496.
-