1. 24 Feb, 1999 3 commits
  2. 23 Feb, 1999 1 commit
  3. 17 Feb, 1999 3 commits
  4. 16 Feb, 1999 2 commits
  5. 15 Feb, 1999 2 commits
  6. 11 Feb, 1999 1 commit
  7. 09 Feb, 1999 1 commit
  8. 08 Feb, 1999 1 commit
  9. 05 Feb, 1999 4 commits
  10. 02 Feb, 1999 1 commit
    • simonm's avatar
      [project @ 1999-02-02 14:21:28 by simonm] · bf739c10
      simonm authored
      - Add ticky counter for total bytes copied during GC.
      - Separate mutable list into two lists, a "mut once" list for
        old generation indirections and MUT_CONS cells, and a "mut many"
        list for mutable arrays, TSOs etc.  Objects on the "mut once" list
        will be eagerly promoted.
      bf739c10
  11. 28 Jan, 1999 1 commit
    • simonm's avatar
      [project @ 1999-01-28 15:04:00 by simonm] · f939293c
      simonm authored
      - Be a bit more accurate about +RTS -H<size>, now we attempt to estimate
        the amount of memory that will be needed at the next GC based on
        the amount of promotion going on, and adjust the size of the allocation
        area appropriately.
      
      - tidy up, move some stuff into Storage.c.
      f939293c
  12. 27 Jan, 1999 1 commit
    • simonm's avatar
      [project @ 1999-01-27 16:41:14 by simonm] · 2c2d3948
      simonm authored
      Use the +RTS -H<size> flag as a "suggestion" to the garbage collector
      to use that much heap.  If you have plenty of memory, then saying
      +RTS -H<large> will really help GC times.
      2c2d3948
  13. 26 Jan, 1999 2 commits
    • simonm's avatar
      [project @ 1999-01-26 16:16:19 by simonm] · 72354593
      simonm authored
      - Add specialised closure types (CONSTR_p_n, THUNK_p_n, FUN_p_n)
      - Add -T<n> RTS flag to specify the number of steps in younger generations.
      72354593
    • simonm's avatar
      [project @ 1999-01-26 11:12:41 by simonm] · ed4cd6d4
      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.
      ed4cd6d4
  14. 20 Jan, 1999 2 commits
    • simonm's avatar
      [project @ 1999-01-20 16:24:02 by simonm] · e0bbfe9c
      simonm authored
      Make use of -F<factor> flag in the two-space collector.
      e0bbfe9c
    • simonm's avatar
      [project @ 1999-01-20 16:07:40 by simonm] · 4d2db16b
      simonm authored
      The BLACKHOLEs created when entering a CAF for the first time are now
      CAF_BLACKHOLES, distinguishing them from the blackholes created by
      lazy blackholing.
      
      This enables the lazy blackholing algorithm to be optimised by not
      blackholing a section of stack that has already been traversed.
      4d2db16b
  15. 19 Jan, 1999 4 commits
  16. 18 Jan, 1999 3 commits
    • simonm's avatar
      [project @ 1999-01-18 16:05:15 by simonm] · d3b4fbe6
      simonm authored
      Only reset oldest_gen->max_blocks on a major GC.
      d3b4fbe6
    • simonm's avatar
      [project @ 1999-01-18 15:21:37 by simonm] · c5a9b776
      simonm authored
      - BLACKHOLE_BQ is a mutable object, because new threads get added to
        its blocking_queue field.  Hence add a mut_link field and treat it
        as mutable in the garbage collector.
      
      - Change StgBlackHole to StgBlockingQueue while I'm at it.
      
      - Optimise evacuation of black holes: don't copy the padding
        words, just skip over them.
      
      - Several garbage collection fixes.
      
      - Improve sanity checking: now the older generations are fully checked
        at each GC.
      c5a9b776
    • simonm's avatar
      [project @ 1999-01-18 12:23:04 by simonm] · 0416fed0
      simonm authored
      Fixes for MVars.
      0416fed0
  17. 15 Jan, 1999 1 commit
    • simonm's avatar
      [project @ 1999-01-15 17:57:03 by simonm] · 4ec89230
      simonm authored
      - Add new object BLACKHOLE_BQ: now a BLACKHOLE is defined as having an
        empty blocking queue, and the first time a thread blocks on a BLACKHOLE
        it is changed into a BLACKHOLE_BQ.
      
      - Remove UPD_INPLACE1 and replace it with UPD_IND in the two places it
        was used.  UPD_INPLACE1 wouldn't have worked in a generational setting.
      4ec89230
  18. 14 Jan, 1999 2 commits
    • simonm's avatar
      [project @ 1999-01-14 11:11:29 by simonm] · 681aba64
      simonm authored
      - check failed_to_evac in scavenge_static.  We might have a static
        indirection (i.e. a CAF) that we can't evacuate to the oldest generation,
        so we have to put it back on the old generation mutable list.
      
      With this change, a bootstrapped compiler now compiles the libraries
      successfully.
      681aba64
    • simonm's avatar
      [project @ 1999-01-14 10:49:01 by simonm] · 63979790
      simonm authored
      - Don't forget to set failed_to_evac when evacuating a THUNK_SELECTOR
      - Fix GC counting
      63979790
  19. 13 Jan, 1999 1 commit
    • simonm's avatar
      [project @ 1999-01-13 17:25:37 by simonm] · 4391e44f
      simonm authored
      Added a generational garbage collector.
      
      The collector is reliable but fairly untuned as yet.  It works with an
      arbitrary number of generations: use +RTS -G<gens> to change the
      number of generations used (default 2).
      
      Stats: +RTS -Sstderr is quite useful, but to really see what's going
      on compile the RTS with -DDEBUG and use +RTS -D32.
      
      ARR_PTRS removed - it wasn't used anywhere.
      
      Sanity checking improved:
      	- free blocks are now spammed when sanity checking is turned on
      	- a check for leaking blocks is performed after each GC.
      4391e44f
  20. 06 Jan, 1999 3 commits
  21. 02 Dec, 1998 1 commit