mark and sweep GC without bitvectors works
This commit is contained in:
parent
a4d47664d6
commit
4fc575bc26
3 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue