revert to old GC; use --gc:v2 to activate the new GC
This commit is contained in:
parent
2a2b630757
commit
65fdd641a9
6 changed files with 1067 additions and 1169 deletions
|
|
@ -69,11 +69,12 @@ proc HandleCmdLine() =
|
|||
changeFileExt(gProjectFull, exeExt).prependCurDir)
|
||||
execExternalProgram(ex & ' ' & service.arguments)
|
||||
|
||||
#GC_disableMarkAndSweep()
|
||||
|
||||
when defined(GC_setMaxPause):
|
||||
GC_setMaxPause 2_000
|
||||
GC_disableMarkAndSweep()
|
||||
|
||||
when compileOption("gc", "v2"):
|
||||
# the new correct mark&sweet collector is too slow :-/
|
||||
GC_disableMarkAndSweep()
|
||||
condsyms.InitDefines()
|
||||
HandleCmdLine()
|
||||
quit(options.gExitcode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue