- 27 Apr, 2005 14 commits
-
-
simonmar authored
When using -H<size> in SMP mode, divide the total nursery size amongst the various nurseries. -H<size> now does something reasonable with SMP.
-
simonmar authored
Hold the sm_mutex around access to the mutable list. The SMP RTS now seems quite stable, I've run my simple test program with 64 threads without crashes.
-
simonmar authored
fprintf(stderr,..) --> debugBelch(...)
-
simonmar authored
Some extra sanity checking
-
simonmar authored
initCapability: initialise the rInHaskell field (found by Valgrind)
-
simonmar authored
expandTaskTable: we need to update the hash table too (found by: Valgrind :-) initTaskManager: take into account -N flag when sizing the initial task table.
-
simonmar authored
i386 wibble
-
simonmar authored
Support for returning the renamed syntax from checkModule (untested).
-
simonmar authored
x86_64: hang register parameters off the call instruction, like powerpc does. This gives the register allocator better information.
-
simonmar authored
showReg(x86_64): fix callerSaves: fix
-
simonmar authored
Fix the volatile regs to the suspendThread call
-
simonmar authored
Remove uses of stderr from .cmm code. We can't reliably refer to stdin/stdout/stderr from .cmm, because the C standard doesn't specify whether stderr is a variable or a macro.
-
simonmar authored
Add comment
-
simonmar authored
newTempName: instead of bumping the processId until we find a name that isn't used, add an integer suffix to the processId. This should prevent temp-file conflicts that appear to have been affecting our nightly builds and occasionally make -j. The right way to allocate a temporary file is to create it straight away, but I'm not sure of the implications of passing existing temporary files to the various sub-processes that GHC executes, hence this fix instead.
-
- 26 Apr, 2005 5 commits
-
-
simonmar authored
resetStaticObjectForRetainerProfiling: catch up changes in ClosureMacros.h
-
simonmar authored
When chasing explicit imports, we now look for the module in both the home package and external packages, and complain if it is found in both: Chasing modules from: Overlap Cannot import `List': it was found in both overlap/List.hs and package haskell98-1.0. Possible fix: -ignore-package haskell98-1.0 (imported from overlap/Overlap.hs) Previously the home module would have been ignored in favour of the package module. It means we're doing a bit more searching, but the behaviour is less obscure.
-
simonmar authored
Back out previous revision. It appears that passing -g to the assembly phase of C compilation results in an object file with broken debug info, that gdb can't read. This is probably a bug in gcc and/or binutils, but this change means that I can't avoid it (unless we were to hack the pipeline to do .c->.s->.o in one stage instead of two).
-
simonmar authored
Add entry about non-blocking stdin and System.Cmd.{system,rawSystem}.
-
sof authored
runSomething: 'rawSystem' might raise an exception to indicate that 'pgm' couldn't be executed, so catch this here & report. Merge to STABLE.
-
- 25 Apr, 2005 8 commits
-
-
simonmar authored
scavenge_one: fix reversed PAP/AP cases
-
simonmar authored
Partial support for deadlock detection in the threaded/SMP RTS. The idea is to wait until a complete time slice has gone by without running any Haskell code, and then try doing a GC to detect deadlocked threads. This kind of works: but we can only wake up a worker thread from the signal handler if there's another worker running - we can't wake up the current thread, it seems.
-
simonmar authored
interruptStgRts: call threadRunnable(). This might not work properly from a signal handler, but it's all we can do (and seems to do something reasonable on Linux).
-
simonmar authored
atomicModifyMutVarzh_fast: move the sm_mutex acquisition *after* the heap check
-
simonmar authored
Yet another StgClosure that should be StgThunk
-
simonmar authored
stg_raise: we should by using StgThunk_payload(), not StgClosure_payload()
-
simonmar authored
Requested by Duncan Coutts: -optc flags get passed to the assembler phase too. It's not obvious, when using GHC to compile a .c file, that options need to be passed both with -optc and -opta - gcc doesn't need this, for example. This is an experimental change - if it breaks anything we can back it out. If anyone needs to pass flags to the .c->.s phase *only*, then we will need to add another flag for that purpose. It seems unlikely, though (there aren't many flags that affect the assembler only, and those that do don't conflict with flags for the C phase).
-
simonmar authored
daVinci is now called uDraw(Graph)
-
- 24 Apr, 2005 4 commits
- 23 Apr, 2005 4 commits
-
-
simonmar authored
Fix comment
-
panne authored
ATTENTION: Make it compile again, but only via a wild and probably wrong guess which might break GHCi. SimonM, please have a look at this. (Who broke it should fix it! :-)
-
sof authored
tweak to handle ghc-6.1 compilation. Merge to STABLE
-
sof authored
added ghc_ge_602. Merge to STABLE
-
- 22 Apr, 2005 5 commits