Disabled mark-and-sweep in the compiler itself

This also adds "cycle roots trimming": a light-weight collection of the cycle
roots performed in CollectZCT for candidates that are recently allocated
and provably dead.
This commit is contained in:
Zahary Karadjov 2013-01-14 15:15:28 +02:00
commit 31134a6bae
2 changed files with 34 additions and 8 deletions

View file

@ -73,6 +73,7 @@ proc HandleCmdLine() =
when defined(GC_setMaxPause):
GC_setMaxPause 2_000
GC_disableMarkAndSweep()
condsyms.InitDefines()
HandleCmdLine()
quit(options.gExitcode)