Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make it safe to include this after GCTDecl.h | Simon Marlow | 2013-01-17 | 1 | -4/+4 |
| | |||||
* | Rearrange includes to avoid a clash on ARM/Linux | Simon Marlow | 2013-01-17 | 1 | -12/+13 |
| | |||||
* | Better abstraction over run queues. | Edward Z. Yang | 2013-01-16 | 4 | -14/+41 |
| | | | | | | | | | 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> | ||||
* | fix disassembler after removal of size field in bco->instrs (#7518) | Simon Marlow | 2013-01-09 | 1 | -2/+2 |
| | |||||
* | remove unnecessary size field in BCO (#7518) | Simon Marlow | 2013-01-09 | 1 | -3/+1 |
| | |||||
* | Add a -rpath entry for the RTS library, so that it can find libffi | Ian Lynagh | 2013-01-04 | 1 | -0/+4 |
| | | | | | | | | | | 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. | ||||
* | A better fix for #7493 (see comment for details) | Simon Marlow | 2012-12-18 | 1 | -20/+44 |
| | |||||
* | Revert "Fix a bug in the handling of nested orElse" | Simon Marlow | 2012-12-18 | 1 | -21/+3 |
| | | | | | | This reverts commit f184d9caffa09750ef6a374a7987b9213d6db28e. The next commit will fix it in a better way. | ||||
* | Make enabled_capabilities visible (fixes dynamic linking) | Simon Marlow | 2012-12-13 | 1 | -2/+1 |
| | |||||
* | add enabled_capabilities (#7491) | Simon Marlow | 2012-12-11 | 1 | -0/+1 |
| | |||||
* | Fix a bug in the handling of nested orElse | Simon Marlow | 2012-12-10 | 1 | -3/+21 |
| | | | | | | | | | | | | | | 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 | ||||
* | Mac OS X 10.6 needed for pthread_threadid_np(), fixes #7356 | Ian Lynagh | 2012-12-01 | 1 | -1/+2 |
| | | | | Based on a patch from Thorkil Naur. | ||||
* | Link in-tree libffi to rts. Fixes trac #5743. | Peter Trommler | 2012-11-30 | 1 | -0/+6 |
| | |||||
* | libffi build system tweaks | Ian Lynagh | 2012-11-30 | 1 | -1/+4 |
| | |||||
* | Add configure option to use system provided libffi; fixes #5743 | Ian Lynagh | 2012-11-29 | 2 | -5/+40 |
| | | | | | | | | | | 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. | ||||
* | typo | Gabor Greif | 2012-11-23 | 1 | -2/+2 |
| | |||||
* | Add a write barrier for TVAR closures | Simon Marlow | 2012-11-16 | 20 | -50/+188 |
| | | | | | | | | | | This improves GC performance when there are a lot of TVars in the heap. For instance, a TChan with a lot of elements causes a massive GC drag without this patch. There's more to do - several other STM closure types don't have write barriers, so GC performance when there are a lot of threads blocked on STM isn't great. But fixing the problem for TVar is a good start. | ||||
* | fix bug in previous commit, 65e46f144f3d8b18de7264b0b099086153c68d6c | Simon Marlow | 2012-11-16 | 1 | -1/+1 |
| | |||||
* | ASSERT(HpAlloc==0) in the update code, to catch HpAlloc bugs | Simon Marlow | 2012-11-12 | 1 | -1/+15 |
| | |||||
* | remove some unused variables | Simon Marlow | 2012-11-12 | 1 | -1/+3 |
| | |||||
* | a fix for checkTSO(): the TSO could be a WHITEHOLE | Simon Marlow | 2012-11-12 | 1 | -3/+10 |
| | |||||
* | assert HpAlloc == 0 | Simon Marlow | 2012-11-12 | 1 | -4/+5 |
| | |||||
* | some W_s should be P_s | Simon Marlow | 2012-11-12 | 1 | -3/+3 |
| | |||||
* | small optimisation: inline stmNewTVar() | Simon Marlow | 2012-11-05 | 3 | -25/+9 |
| | |||||
* | Save R1/R2/.. across foreign calls | Simon Marlow | 2012-11-05 | 1 | -6/+15 |
| | |||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-11-01 | 5 | -8/+14 |
|\ | |||||
| * | Fix bug in stg_enter_checkbh | Simon Marlow | 2012-11-01 | 1 | -1/+5 |
| | | | | | | | | | | This was causing crashes in stm050(ghci), throwto001(ghci), and possibly more. | ||||
| * | turn off cmm optimisation for the debug way | Simon Marlow | 2012-11-01 | 1 | -1/+1 |
| | | |||||
| * | Fix bug in stg_ctoi_R1n (could cause GHCi crashes) | Simon Marlow | 2012-11-01 | 1 | -1/+1 |
| | | |||||
| * | A couple of W_s should be P_s (not an actual bug, I think) | Simon Marlow | 2012-11-01 | 1 | -2/+2 |
| | | |||||
| * | Don't clearNurseries() in parallel with -debug | Simon Marlow | 2012-11-01 | 1 | -3/+5 |
| | | | | | | | | It makes sanity-checking fail. | ||||
* | | Fix typos | Ian Lynagh | 2012-11-01 | 1 | -1/+1 |
|/ | |||||
* | Retainer prof: immutable arrays are not retainers, and fix the docs | Simon Marlow | 2012-10-31 | 1 | -2/+3 |
| | |||||
* | Save and restore registers across calls to unlockClosure. | Geoffrey Mainland | 2012-10-30 | 1 | -0/+13 |
| | | | | | We may not assume that registers are saved across calls to unlockClosure because it could call a C function on some platforms. | ||||
* | Attach proper jump liveness information to generated C-- code. | Geoffrey Mainland | 2012-10-30 | 1 | -2/+2 |
| | |||||
* | Fix a couple of format strings | Ian Lynagh | 2012-10-26 | 1 | -2/+2 |
| | |||||
* | fprintCCS_stderr: untag the exception (#7319) | Simon Marlow | 2012-10-25 | 1 | -1/+1 |
| | |||||
* | delete old comments | Simon Marlow | 2012-10-25 | 1 | -22/+0 |
| | |||||
* | remove unused sched_shutting_down | Simon Marlow | 2012-10-25 | 2 | -8/+1 |
| | |||||
* | fix bug in heap check in putMVar# | Simon Marlow | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Use canned heap checks to save a few bytes of code | Simon Marlow | 2012-10-23 | 1 | -2/+2 |
| | |||||
* | fix a warning | Simon Marlow | 2012-10-23 | 1 | -2/+2 |
| | |||||
* | Fix a silly bug that would cause -xc to print less than useful information | Simon Marlow | 2012-10-23 | 1 | -1/+3 |
| | |||||
* | typo | Simon Marlow | 2012-10-22 | 1 | -1/+1 |
| | |||||
* | profiling fixes | Simon Marlow | 2012-10-19 | 7 | -40/+44 |
| | |||||
* | Fix build on OS X (fix from Duncan Coutts) | Ian Lynagh | 2012-10-16 | 1 | -0/+5 |
| | |||||
* | Add a new traceMarker# primop for use in profiling output | Duncan Coutts | 2012-10-15 | 7 | -0/+84 |
| | | | | | | | | | In time-based profiling visualisations (e.g. heap profiles and ThreadScope) it would be useful to be able to mark particular points in the execution and have those points in time marked in the visualisation. The traceMarker# primop currently emits an event into the eventlog. In principle it could be extended to do something in the heap profiling too. | ||||
* | Merge branch 'master' of http://darcs.haskell.org/ghc | Ian Lynagh | 2012-10-14 | 1 | -0/+3 |
|\ | |||||
| * | rts: Ignore signal before deleting timer. Fixes #7303. | Erik de Castro Lopo | 2012-10-14 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Was getting an ocassional hang or segfault when building GHC in a Qemu user space emulation of ARM. Turned out that the ITIMER_SIGNAL was being delivered *after* the call to timer_delete(). Setting the signal to SIG_IGN before deleting the timer solves the problem. | ||||
* | | Get dynamic-by-default mostly working on OS X | Ian Lynagh | 2012-10-14 | 1 | -0/+3 |
| | |