Skip to content
Snippets Groups Projects
Commit dfd7d6d0 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 2001-07-23 17:23:19 by simonmar]

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.
parent 9528fa3e
No related branches found
No related tags found
No related merge requests found
Showing with 2299 additions and 1079 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment