1. 06 Nov, 2002 2 commits
  2. 05 Nov, 2002 7 commits
  3. 04 Nov, 2002 1 commit
  4. 01 Nov, 2002 3 commits
    • simonmar's avatar
      [project @ 2002-11-01 11:17:29 by simonmar] · 9bffc64e
      simonmar authored
      warning police: #include <string.h> to get proto for strlen()
    • simonmar's avatar
      [project @ 2002-11-01 11:16:33 by simonmar] · cbe4e8ae
      simonmar authored
      total_alloc should be a 64-bit couunter.
    • simonmar's avatar
      [project @ 2002-11-01 11:05:46 by simonmar] · 6226441f
      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.
  5. 31 Oct, 2002 2 commits
  6. 30 Oct, 2002 4 commits
  7. 29 Oct, 2002 9 commits
  8. 28 Oct, 2002 3 commits
  9. 27 Oct, 2002 3 commits
  10. 25 Oct, 2002 6 commits
    • simonpj's avatar
      [project @ 2002-10-25 21:59:51 by simonpj] · af2c228c
      simonpj authored
      Put findLinkable in Finder.lhs, where it can be found in non-ghci stage1 compilers!
    • simonpj's avatar
      [project @ 2002-10-25 21:58:24 by simonpj] · 264cc860
      simonpj authored
      Import wibbles
    • simonpj's avatar
      [project @ 2002-10-25 16:54:55 by simonpj] · b768e242
      simonpj authored
      Import wibbles
    • simonpj's avatar
      [project @ 2002-10-25 15:57:03 by simonpj] · 7abd5f3d
      simonpj authored
      Reduce exports, and add comments
    • simonpj's avatar
      [project @ 2002-10-25 15:23:03 by simonpj] · 4ef18ea2
      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's avatar
      [project @ 2002-10-25 12:56:34 by simonmar] · 24889e6a
      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.