mark and sweep GC without bitvectors works

This commit is contained in:
Araq 2013-02-19 23:07:08 +01:00
commit 4fc575bc26
3 changed files with 8 additions and 5 deletions

View file

@ -13,7 +13,9 @@
const
InitialThreshold = 4*1024*1024 # X MB because marking&sweeping is slow
withBitvectors = defined(gcUseBitvectors)
withBitvectors = defined(gcUseBitvectors)
# bitvectors are significantly faster for GC-bench, but slower for
# bootstrapping and use more memory
rcWhite = 0
rcGrey = 1 # unused
rcBlack = 2