1. 19 Dec, 2002 1 commit
  2. 16 Aug, 2002 1 commit
  3. 20 Dec, 2001 1 commit
  4. 12 Dec, 2001 1 commit
  5. 21 Nov, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-11-21 10:09:15 by simonmar] · 560bf0f6
      simonmar authored
      Turn the weighted reference count in a StablePtr into a simple counter
      in the stable ptr table.  We never made use of the weighted count, and
      it caused problems when making many StablePtrs to the same object.
      
      In the future we could remove the reference counting altogether and
      just make a new StablePtr each time, rather than attempting to use an
      existing one.  This would save on the hash table lookup at creation
      time.
      560bf0f6
  6. 23 Oct, 2001 1 commit
  7. 23 Jul, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-07-23 17:23:19 by simonmar] · dfd7d6d0
      simonmar authored
      Add a compacting garbage collector.
      
      It isn't enabled by default, as there are still a couple of problems:
      there's a fallback case I haven't implemented yet which means it will
      occasionally bomb out, and speed-wise it's quite a bit slower than the
      copying collector (about 1.8x slower).
      
      Until I can make it go faster, it'll only be useful when you're
      actually running low on real memory.
      
      '+RTS -c' to enable it.
      
      Oh, and I cleaned up a few things in the RTS while I was there, and
      fixed one or two possibly real bugs in the existing GC.
      dfd7d6d0
  8. 07 Nov, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-11-07 17:05:47 by simonmar] · 2de8104d
      simonmar authored
      Clean ups:
      
         - reduce the namespace pollution of StgTypes.h, it doesn't define
           the shorthand versions any more (W_, I_ etc.).  These are moved into
           Stg.h.  StgTypes.h also defines StgClosure as an "opaque" struct.
      
         - RtsAPI.h is now standalone, and includes HsFFI.h and thereby
           config.h & StgTypes.h.  Now we don't need to #include "Stg.h" in
           *_stub.c.
      
         - all the rts_mkXXXX and rts_getXXXX functions are defined in terms
           of the HsXXXX types rather than random C types (this fixes some
           potential bugs in our foreign export support).
      
         - added HsWord type, to match StgWord.  The Haskell version of this
           type isn't "documented", but perhaps it should be.
      2de8104d
  9. 04 Sep, 2000 1 commit
  10. 13 Apr, 2000 1 commit
  11. 02 Mar, 1999 1 commit
  12. 26 Feb, 1999 1 commit
    • simonm's avatar
      [project @ 1999-02-26 12:46:45 by simonm] · a59148d1
      simonm authored
      Fix stable pointer bug:
      
         - the 'keep' flag is now a pointer to the stable name object.
      
         - makeStableName always returns an existing stable name object
           if one exists.
      
         - re-use stable name table entries iff the stable name object
           becomes unreachable (takes into account generational GC now),
           and the reference count is 0.
      a59148d1
  13. 05 Feb, 1999 1 commit
  14. 26 Jan, 1999 1 commit