Big code GC refactoring
commited1a2855b5fd0d212bb74363667056f71ba4f52a
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 25 Jan 2009 02:13:17 +0000 (24 20:13 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sun, 25 Jan 2009 02:13:17 +0000 (24 20:13 -0600)
treed1ae9d3f0e39ac91749c0fe90c69bc0cc8e68a02
parent670d0106d12c8b8210de6ef33e42add7da272a52
Big code GC refactoring
- Move code block-specific parts of code_gc.c to code_heap.c
- code_gc.c is now a generic malloc-style heap
- New code_block.c to split up large code_heap.c
- Clean up relocation code and remove some duplication
- Fix problems with code heap not being updated properly with uninterned words (bug re
ported by doublec)
- Remove boolean parameter from modify-code-heap primitive
- Less unnecessary fixup speeds up bootstrap slightly
19 files changed:
Makefile
vm/callstack.c
vm/callstack.h
vm/code_block.c [copied from vm/code_heap.c with 57% similarity, mode: 0644]
vm/code_block.h [copied from vm/code_heap.h with 74% similarity, mode: 0644]
vm/code_gc.c
vm/code_gc.h
vm/code_heap.c
vm/code_heap.h
vm/data_gc.c
vm/debug.c
vm/image.c
vm/layouts.h
vm/master.h
vm/profiler.c
vm/profiler.h
vm/quotations.c
vm/quotations.h
vm/types.c