- 02 Apr, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
unbreaks ghc-pkg check in an installed GHC
-
- 17 Mar, 2009 1 commit
-
-
Simon Marlow authored
Generate binary log files from the RTS containing a log of runtime events with timestamps. The log file can be visualised in various ways, for investigating runtime behaviour and debugging performance problems. See for example the forthcoming ThreadScope viewer. New GHC option: -eventlog (link-time option) Enables event logging. +RTS -l (runtime option) Generates <prog>.eventlog with the binary event information. This replaces some of the tracing machinery we already had in the RTS: e.g. +RTS -vg for GC tracing (we should do this using the new event logging instead). Event logging has almost no runtime cost when it isn't enabled, though in the future we might add more fine-grained events and this might change; hence having a link-time option and compiling a separate version of the RTS for event logging. There's a small runtime cost for enabling event-logging, for most programs it shouldn't make much difference. (Todo: docs)
-
- 05 Feb, 2009 1 commit
-
-
Ben.Lippmeier@anu.edu.au authored
-
- 03 Feb, 2009 1 commit
-
-
Ben.Lippmeier@anu.edu.au authored
-
- 08 Jan, 2009 1 commit
-
-
Ian Lynagh authored
-
- 13 Oct, 2008 1 commit
-
-
Clemens Fruhwirth authored
-
- 09 Oct, 2008 1 commit
-
-
Ian Lynagh authored
-
- 22 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 19 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 09 Sep, 2008 1 commit
-
-
Simon Marlow authored
-
- 10 Aug, 2008 1 commit
-
-
Ian Lynagh authored
-
- 25 Jul, 2008 1 commit
-
-
Simon Marlow authored
no idea why this only just showed up...
-
- 22 Jul, 2008 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 03 Jun, 2008 1 commit
-
-
Simon Marlow authored
Similarly for Scav.c/Scav.c-inc.
-
- 19 Nov, 2007 1 commit
-
-
simonmar@microsoft.com authored
-
- 01 Nov, 2007 1 commit
-
-
Simon Marlow authored
-
- 31 Oct, 2007 1 commit
-
-
Simon Marlow authored
This patch localises the state of the GC into a gc_thread structure, and reorganises the inner loop of the GC to scavenge one block at a time from global work lists in each "step". The gc_thread structure has a "workspace" for each step, in which it collects evacuated objects until it has a full block to push out to the step's global list. Details of the algorithm will be on the wiki in due course. At the moment, THREADED_RTS does not compile, but the single-threaded GC works (and is 10-20% slower than before).
-
- 09 Apr, 2008 1 commit
-
-
Simon Marlow authored
-
- 08 Apr, 2008 1 commit
-
-
Simon Marlow authored
This replaces the hand-rolled architecture-specific FFI support in GHCi with the standard libffi as used in GCJ, Python and other projects. I've bundled the complete libffi-3.0.4 tarball in the source tree in the same way as we do for GMP, the difference being that we always build and install our own libffi regardless of whether there's one on the system (it's small, and we don't want dependency/versioning headaches). In particular this means that unregisterised builds will now have a fully working GHCi including FFI out of the box, provided libffi supports the platform. There is also code in the RTS to use libffi in place of rts/Adjustor.c, but it is currently not enabled if we already have support in Adjustor.c for the current platform. We need to assess the performance impact before using libffi here too (in GHCi we don't care too much about performance).
-
- 02 Apr, 2008 1 commit
-
-
Simon Marlow authored
This has several advantages: - -fvia-C is consistent with -fasm with respect to FFI declarations: both bind to the ABI, not the API. - foreign calls can now be inlined freely across module boundaries, since a header file is not required when compiling the call. - bootstrapping via C will be more reliable, because this difference in behavour between the two backends has been removed. There is one disadvantage: - we get no checking by the C compiler that the FFI declaration is correct. So now, the c-includes field in a .cabal file is always ignored by GHC, as are header files specified in an FFI declaration. This was previously the case only for -fasm compilations, now it is also the case for -fvia-C too.
-
- 15 Mar, 2008 1 commit
-
-
Ian Lynagh authored
Otherwise "$(A) $(B)" will not be equal to "" even if A and B are empty. Trac #856.
-
- 21 Feb, 2008 1 commit
-
-
chak@cse.unsw.edu.au. authored
-
- 23 Jan, 2008 1 commit
-
-
Ian Lynagh authored
-
- 16 Jan, 2008 1 commit
-
-
Clemens Fruhwirth authored
Add dyn-wrapper.c used as cross-plattform launch wrapper for executables using dynamic libraries in non-standard places
-
- 03 Jan, 2008 1 commit
-
-
Simon Marlow authored
To enable this, set UseLibFFI=YES in mk/build.mk. The main advantage here is that this reduces the porting effort for new platforms: libffi works on more architectures than our current adjustor code, and it is probably more heavily tested. We could potentially replace our existing code, but since it is probably faster than libffi (just a guess, I'll measure later) and is already working, it doesn't seem worthwhile. Right now, you must have libffi installed on your system. I used the one supplied by Debian/Ubuntu.
-
- 30 Dec, 2007 1 commit
-
-
Clemens Fruhwirth authored
-
- 27 Oct, 2007 1 commit
-
-
Ian Lynagh authored
This is a hack, but it means we get libHSrts*.a etc rather than just libHSrts.a.
-
- 26 Sep, 2007 1 commit
-
-
Ian Lynagh authored
Patch from Clemens Fruhwirth
-
- 10 Sep, 2007 2 commits
-
-
Ian Lynagh authored
If it is set, we don't try to use clock_gettime
-
sven.panne@aedion.de authored
MERGE TO STABLE
-
- 02 Sep, 2007 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 24 Aug, 2007 1 commit
-
-
Ian Lynagh authored
-
- 18 Aug, 2007 1 commit
-
-
Ian Lynagh authored
-
- 16 Aug, 2007 1 commit
-
-
Ian Lynagh authored
-
- 08 Aug, 2007 1 commit
-
-
Clemens Fruhwirth authored
-
- 23 Jul, 2007 1 commit
-
-
Ian Lynagh authored
-
- 22 Jul, 2007 1 commit
-
-
Ian Lynagh authored
-