https://github.com/munificent/lisp2-gc
A simple implementation of the LISP2 mark-compact GC algorithm
https://github.com/munificent/lisp2-gc
Last synced: 10 months ago
JSON representation
A simple implementation of the LISP2 mark-compact GC algorithm
- Host: GitHub
- URL: https://github.com/munificent/lisp2-gc
- Owner: munificent
- License: other
- Created: 2014-11-20T15:54:42.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-20T15:54:58.000Z (about 11 years ago)
- Last Synced: 2025-03-16T08:02:27.671Z (10 months ago)
- Language: C
- Size: 102 KB
- Stars: 41
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A toy implementation of the [LISP2][] [mark-compact][] garbage collection algorithm.
It contains two versions. `lisp2.c` is the simpler of the two and is well-documented. It implements the garbage collector using a single fixed-size heap. `lisp2-reallocate.c` extends that by growing and shrinking the heap as needed.
[lisp2]: http://en.wikipedia.org/wiki/Mark-compact_algorithm#LISP2_Algorithm
[mark-compact]: http://en.wikipedia.org/wiki/Mark-compact_algorithm