This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 02 Jun, 2009 2 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
- 28 May, 2009 1 commit
-
-
Ben.Lippmeier@anu.edu.au authored
These refer to unaligned locations that need to be written byte-at-a-time. This fixes the SPARC ghci failures in the current head.
-
- 28 Mar, 2009 1 commit
-
-
Simon Marlow authored
-
- 20 May, 2009 2 commits
-
-
Simon Marlow authored
-
Ian Lynagh authored
-
- 23 Apr, 2009 1 commit
-
-
Simon Marlow authored
Part of the fix for #3171
-
- 30 Mar, 2009 1 commit
-
-
Simon Marlow authored
-
- 13 Mar, 2009 1 commit
-
-
Simon Marlow authored
-
- 06 Mar, 2009 1 commit
-
-
Simon Marlow authored
- add newAlignedPinnedByteArray# for allocating pinned BAs with arbitrary alignment - the old newPinnedByteArray# now aligns to 16 bytes Foreign.alloca will use newAlignedPinnedByteArray#, and so might end up wasting less space than before (we used to align to 8 by default). Foreign.allocaBytes and Foreign.mallocForeignPtrBytes will get 16-byte aligned memory, which is enough to avoid problems with SSE instructions on x86, for example. There was a bug in the old newPinnedByteArray#: it aligned to 8 bytes, but would have failed if the header was not a multiple of 8 (fortunately it always was, even with profiling). Also we occasionally wasted some space unnecessarily due to alignment in allocatePinned(). I haven't done anything about Foreign.malloc/mallocBytes, which will give you the same alignment guarantees as malloc() (8 bytes on Linux/x86 here).
-
- 19 Feb, 2009 1 commit
-
-
Simon Marlow authored
-
- 27 Jan, 2009 1 commit
-
-
Samuel Bronson authored
In this version, I untag R1 before using it, and even enter R2 at the end rather than simply returning it (which didn't work right when R2 was a thunk).
-
- 08 Jan, 2009 1 commit
-
-
Simon Marlow authored
might fix #2925
-
- 10 Dec, 2008 2 commits
-
-
Simon Marlow authored
Patch originally by Ivan Tomac <tomac@pacific.net.au>, amended by Simon Marlow: - mkWeakFinalizer# commoned up with mkWeakFinalizerEnv# - GC parameters to ALLOC_PRIM fixed
-
Simon Marlow authored
This appears to be necessary on FreeBSD. It might be necessary on other OSs too, but I'm being cautious because using MAP_FIXED can lead to crashes by overwriting existing mappings, and we have no (easy) way to prevent that.
-
- 21 Nov, 2008 2 commits
-
-
Thorkil Naur authored
-
Simon Marlow authored
-
- 20 Nov, 2008 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 19 Nov, 2008 1 commit
-
-
Simon Marlow authored
-
- 18 Nov, 2008 1 commit
-
-
Simon Marlow authored
Eager blackholing can improve parallel performance by reducing the chances that two threads perform the same computation. However, it has a cost: one extra memory write per thunk entry. To get the best results, any code which may be executed in parallel should be compiled with eager blackholing turned on. But since there's a cost for sequential code, we make it optional and turn it on for the parallel package only. It might be a good idea to compile applications (or modules) with parallel code in with -feager-blackholing. ToDo: document -feager-blackholing.
-
- 17 Nov, 2008 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
On x86_64, the RTS needs to allocate memory in the low 2Gb of the address space. On Linux we can do this with MAP_32BIT, but sometimes this doesn't work (#2512) and other OSs don't support it at all (#2063). So to work around this: - Try MAP_32BIT first, if available. - Otherwise, try allocating memory from a fixed address (by default 1Gb) - We now provide an option to configure the address to allocate from. This allows a workaround on machines where the default breaks, and also provides a way for people to test workarounds that we can incorporate in future releases.
-
- 13 Nov, 2008 1 commit
-
-
Simon Marlow authored
-
- 12 Nov, 2008 1 commit
-
-
Simon Marlow authored
Fixes win32002(ghci) Previously we only did this for references from object files, but we should do it for all symbols, including those that GHCi looks up due to FFI calls from bytecode.
-
- 06 Nov, 2008 1 commit
-
-
Simon Marlow authored
Signficantly reduces the overhead for par, which means that we can make use of paralellism at a much finer granularity.
-
- 13 Oct, 2008 1 commit
-
-
Clemens Fruhwirth authored
-
- 10 Oct, 2008 1 commit
-
-
Simon Marlow authored
-
- 16 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 15 Sep, 2008 1 commit
-
-
Simon Marlow authored
This was causing problems because sometimes mremap() moved the memory we had allocated from the low 2Gb to above the 2Gb boundary, causing some linkages to fail. There's no MAP_32BIT flag to mremap(). So now we just use mmap(MAP_ANON|MAP_32BIT) to allocated space for the trampolines. People without MAP_32BIT (eg. *BSD) will still have to do something else here, such as allocating memory from a fixed address; so I've made it slightly easier for those guys, but there's still work to do (#2063). One solution (that Simon PJ is advocating) is to turn on -fPIC by default on x86-64. This is a good solution as it removes the need for MAP_32BIT, but doesn't work with -fvia-C, so probably this is for later.
-
- 08 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 03 Sep, 2008 1 commit
-
-
Simon Marlow authored
Also, look for libXXX.dll in addition to XXX.dll (see #1883, this isn't really a proper fix, but it'll help in some cases). And I tidied up the error message for a DLL load failure, though it's still a bit of a mess because addDLL is supposed to return a (static) string with the error message, but this isn't possible on Windows.
-
- 04 Aug, 2008 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 30 Jul, 2008 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 24 Jul, 2008 2 commits
-
-
Simon Marlow authored
RTLD_NOW apparently causes some problems, according to previous mailing-list discussion http://www.haskell.org/pipermail/cvs-ghc/2007-September/038570.html
-
Simon Marlow authored
-
- 14 Jul, 2008 1 commit
-
-
Simon Marlow authored
-