Commit graph

9 commits

Author SHA1 Message Date
Alex Shinn
cce116bc0a progress 2009-06-11 23:02:30 +09:00
Alex Shinn
bafd9ebd29 merging adjacent free chunks during the sweep phase 2009-06-10 15:17:15 +09:00
Alex Shinn
54baeaca36 don't sweep the free-list elements!
implementing heap expansion w/ realloc.
realloc is always giving back the same pointer right now,
so pointer adjusting not tested yet.
2009-06-10 00:38:15 +09:00
Alex Shinn
d65e7255f8 stack is now a data type (maybe merge w/ vector),
new gc seems initially functional
2009-06-08 02:06:24 +09:00
Alex Shinn
a85d80038c while still working towards the precise gc, reordering the
context argument to all functions
2009-05-08 23:27:04 +09:00
Alex Shinn
28d5775bbe string and vector data is now packed, no longer allocing arbitrary
blocks of untagged data, string and vector reads use an initial
buffer to reduce allocations
2009-05-06 22:43:24 +09:00
Alex Shinn
89d282ef9d gc allocation working, need to fix garbage collecting 2009-05-05 15:15:50 +09:00
Alex Shinn
4d78a28d8c passing context through all calls that can allocate memory
in preparation for a native, thread-safe gc.
2009-05-05 03:16:09 +09:00
Alex Shinn
e26fc9af80 initial gc outline 2009-04-30 18:47:26 +09:00