- 06 Nov, 2002 2 commits
- 05 Nov, 2002 7 commits
-
-
wolfgang authored
Add the appropriate barf for memory allocation failures on Mac OS X.
-
simonpj authored
Formatting and dead code
-
simonpj authored
------------------ Fix module exports ------------------ GHC was doing the wrong thing when it came to detecting conflicts on exports from 'module M' items. This commit fixes it. There's a test in rename/should_fail/rnfail040
-
simonpj authored
Better reporting of unused bindings
-
simonmar authored
More wibbles: move the out of memory error message into my_mmap() to avoid duplication, and add a couple of ToDo comments.
-
simonmar authored
Wibble in "out of memory" error message (we actually get to see it now, rather than "getMBlock: misaligned block...").
-
simonpj authored
Wibble when renaming splices
-
- 04 Nov, 2002 1 commit
-
-
simonpj authored
Fix reifyDecl
-
- 01 Nov, 2002 3 commits
-
-
simonmar authored
warning police: #include <string.h> to get proto for strlen()
-
simonmar authored
total_alloc should be a 64-bit couunter. MERGE TO STABLE
-
simonmar authored
Fix the heapCensus crash. It turned out that after a GC, the small_alloc_list might be non-empty if a new finalizer thread had been started. The last block on small_alloc_list doesn't have the free pointer set correctly (as a small optimisation, we don't normally set the free pointer after each allocation, only when the block is full). The result was that the free pointer contains the wrong value, and the heap census traverses garbage. The fix is to set the free pointer correctly before traversing small_alloc_list. The bug doesn't show up when DEBUG is on, because extra DEBUG checks cause the free pointer to be initialised to a sensible(-ish) value. Hence my difficulty in reproducing the bug. To reproduce: compile ghc-regress/lib/should_run/memo002 with profiling and run it with a sufficiently small sample interval (-i0.02 did it for me). Thanks to the kind folks at ARM for helping out with the debugging of this one. MERGE TO STABLE
-
- 31 Oct, 2002 2 commits
- 30 Oct, 2002 4 commits
- 29 Oct, 2002 9 commits
-
-
simonpj authored
Oops... add missing free-vars
-
sof authored
err msg wibble
-
simonmar authored
Add a note about where the time spent in foreign code is attributed.
-
chak authored
Cleaned up `repE'. Reordered to match order of cases in HsExpr and made an effort to catch all cases.
-
simonpj authored
Wibble to lint-ing unfoldings
-
chak authored
Added a case for HsPar to repE. Also completed the cases in repE to at least panic for the missing syntactic forms of HsExpr. Is there any good reason for the semi-random order of the cases in repE? Using the same order as in the data declaration for HsExpr would make it easier to spot missing cases.
-
simonpj authored
Slight tidy up
-
simonpj authored
Make imports work for pre-504
-
mthomas authored
Remove unnecessary compiler and linker flags for Mingw32.
-
- 28 Oct, 2002 3 commits
- 27 Oct, 2002 3 commits
-
-
wolfgang authored
Fix a type and a bug for PowerPC.
-
wolfgang authored
For Mac OS X, use the underlying Mach Microkernel calls instead of mmap. Darwin's mmap doesn't honor the passed-in address without MAP_FIXED, and MAP_FIXED replaces all existing mappings, so it can't be used.
-
mthomas authored
Remove Win32 library dependency.
-
- 25 Oct, 2002 6 commits
-
-
simonpj authored
Put findLinkable in Finder.lhs, where it can be found in non-ghci stage1 compilers!
-
simonpj authored
Import wibbles
-
simonpj authored
Import wibbles
-
simonpj authored
Reduce exports, and add comments
-
simonpj authored
------------------------ More dependency fiddling ------------------------ WARNING: Interface file format has changed (again) You need to 'make clean' in all library code * Orphan modules are now kept separately Home-package dependencies now contain only home-package dependencies! See HscTypes.Dependencies * Linker now uses the dependencies to do dynamic linking Result: Template Haskell should work even without --make (not yet tested)
-
simonmar authored
We shouldn't be using MAP_FIXED on solaris (fixes last night's crash). Unfortunately on Solaris the heuristics don't work too well. Solaris seems to ignore the addr argument to mmap when MAP_FIXED is not specified, and starts handing out memory from the top of the address space. So we allocate 2M each time and munmap() ends to leave an aligned 1M chunk. This will eventually leave the address space completely full of 1M holes. I don't have a good solution to this at the moment. MERGE TO STABLE
-