- 03 Apr, 2000 1 commit
-
-
simonmar authored
misc profiling cleanups
-
- 14 Mar, 2000 1 commit
-
-
sof authored
Simplified prog_* externs a little
-
- 13 Mar, 2000 1 commit
-
-
simonmar authored
Move Prelude.h from ghc/includes into ghc/rts. It's essentially a list of the things from the Prelude that the RTS depends on, and isn't relevant to STG code. Furthermore, this helps to clarify which parts of the RTS depend on things from the Prelude (by an explicity #include).
-
- 13 Jan, 2000 1 commit
-
-
hwloidl authored
Merged GUM-4-04 branch into the main trunk. In particular merged GUM and SMP code. Most of the GranSim code in GUM-4-04 still has to be carried over.
-
- 09 Nov, 1999 2 commits
-
-
simonmar authored
Fix up some problems with the IN_STG_CODE macro.
-
simonmar authored
A slew of SMP-related changes. - New locking scheme for thunks: we now check whether the thunk being entered is in our private allocation area, and if so we don't lock it. Well, that's the upshot. In practice it's a lot more fiddly than that. - I/O blocking is handled a bit more sanely now (but still not properly, methinks) - deadlock detection is back - remove old pre-SMP scheduler code - revamp the timing code. We actually get reasonable-looking timing info for SMP programs now. - fix a bug in the garbage collector to do with IND_OLDGENs appearing on the mutable list of the old generation. - move BDescr() function from rts/BlockAlloc.h to includes/Block.h. - move struct generation and struct step into includes/StgStorage.h (sigh) - add UPD_IND_NOLOCK for updating with an indirection where locking the black hole is not required.
-
- 05 Nov, 1999 1 commit
-
-
simonmar authored
_ccall_GC wibbles
-
- 02 Nov, 1999 1 commit
-
-
simonmar authored
This commit adds in the current state of our SMP support. Notably, this allows the new way 's' to be built, providing support for running multiple Haskell threads simultaneously on top of any pthreads implementation, the idea being to take advantage of commodity SMP boxes. Don't expect to get much of a speedup yet; due to the excessive locking required to synchronise access to mutable heap objects, you'll see a slowdown in most cases, even on a UP machine. The best I've seen is a 1.6-1.7 speedup on an example that did no locking (two optimised nfibs in parallel). - new RTS -N flag specifies how many pthreads to start. - new driver -smp flag, tells the driver to use way 's'. - new compiler -fsmp option (not for user comsumption) tells the compiler not to generate direct jumps to thunk entry code. - largely rewritten scheduler - _ccall_GC is now done by handing back a "token" to the RTS before executing the ccall; it should now be possible to execute blocking ccalls in the current thread while allowing the RTS to continue running Haskell threads as normal. - you can only call thread-safe C libraries from a way 's' build, of course. Pthread support is still incomplete, and weird things (including deadlocks) are likely to happen.
-
- 06 Jul, 1999 2 commits
- 05 Jul, 1999 1 commit
-
-
sof authored
Stg.h contains all the defs and protos that are visible when compiling .hc code (==> .hs code). Augment this set with the externally visible RTS API.
-
- 25 Jun, 1999 2 commits
-
-
simonmar authored
Comment about TABLES_NEXT_TO_CODE.
-
simonmar authored
New define: TABLES_NEXT_TO_CODE says whether info tables are assumed to reside just before the code for a function. We used to use USE_MINIINTERPRETER for this function, but it makes sense in certain cases to separate the use of tail-calls from tables-next-to-code. StgMacros: add a couple of missing macros to support update in place.
-
- 11 May, 1999 1 commit
-
-
keithw authored
(this is number 8 of 9 commits to be applied together) The CPP flag LAZY_BLACKHOLING has been moved up from options.h into Stg.h, so GHC can see it as well as the interpreter, and EAGER_BLACKHOLING has been added. The default is still LAZY_BLACKHOLING && !EAGER_BLACKHOLING.
-
- 10 May, 1999 1 commit
-
-
sof authored
Added a DllMain() which starts up RTS upon DLL load.
-
- 04 May, 1999 1 commit
-
-
sof authored
Moved DLL-related macros out of Stg.h and into separate .h file
-
- 15 Mar, 1999 1 commit
-
-
simonm authored
Remove flags field from info tables; create a separate table of flags indexed by the closure type in the RTS.
-
- 03 Mar, 1999 1 commit
-
-
sof authored
DLL_IMPORT_DATA_VAR fix
-
- 02 Mar, 1999 1 commit
-
-
sof authored
- misc changes to support DLLs - StgNat* --> StgWord*
-
- 05 Feb, 1999 1 commit
-
-
simonm authored
Copyright police.
-
- 26 Jan, 1999 1 commit
-
-
simonm authored
- Add Stable Names - Stable pointers and stable names are now both provided by the "Stable" module in ghc/lib/exts. Documentation is updated, and Foriegn still exports the stable pointer operations for backwards compatibility.
-
- 21 Jan, 1999 1 commit
-
-
simonm authored
Resurrect ticky-ticky profiling. Not quite polished yet, but it compiles and produces some reasonable-looking stats.
-
- 18 Jan, 1999 1 commit
-
-
sof authored
Added protos for freeHaskellFunctionPtr() and createAdjustor() (suggestions as to what might be a more appropriate home for these are welcome.)
-
- 02 Dec, 1998 1 commit
-
-
simonm authored
Move 4.01 onto the main trunk.
-