https://github.com/zyedidia/cgc
C garbage collector
https://github.com/zyedidia/cgc
Last synced: 9 months ago
JSON representation
C garbage collector
- Host: GitHub
- URL: https://github.com/zyedidia/cgc
- Owner: zyedidia
- Created: 2022-04-20T20:09:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-20T23:07:12.000Z (over 3 years ago)
- Last Synced: 2025-03-27T14:49:20.963Z (10 months ago)
- Language: C
- Size: 1.95 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CGC is a simple conservative mark-and-sweep garbage collector for C. Note: CGC does not consider allocated blocks to be reachable from pointers in the data segment. This is because determining the bounds of the data segment is difficult to do in a portable manner. To avoid this problem, do not refer to CGC-allocated memory from globals.