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:
parent
41cbd1c980
commit
31134a6bae
2 changed files with 34 additions and 8 deletions
|
|
@ -73,6 +73,7 @@ proc HandleCmdLine() =
|
|||
|
||||
when defined(GC_setMaxPause):
|
||||
GC_setMaxPause 2_000
|
||||
GC_disableMarkAndSweep()
|
||||
condsyms.InitDefines()
|
||||
HandleCmdLine()
|
||||
quit(options.gExitcode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue